Skip to content

Version 0.12.0

Latest
Compare
Choose a tag to compare
@nixzhu nixzhu released this 25 Dec 05:19
· 2 commits to main since this release

Overview

  • New APIs for updating AnandaValueExtractor.

AnandaValueExtractor

❇️ Added

public func updatingBool(_ bool: @escaping @Sendable (AnandaJSON) -> Bool?) -> Self
public func updatingInt(_ int: @escaping @Sendable (AnandaJSON) -> Int?) -> Self
public func updatingDouble(_ double: @escaping @Sendable (AnandaJSON) -> Double?) -> Self
public func updatingString(_ string: @escaping @Sendable (AnandaJSON) -> String?) -> Self
public func updatingDate(_ date: @escaping @Sendable (AnandaJSON) -> Date?) -> Self
public func updatingURL(_ url: @escaping @Sendable (AnandaJSON) -> URL?) -> Self