darty_json_safe 1.0.3 copy "darty_json_safe: ^1.0.3" to clipboard
darty_json_safe: ^1.0.3 copied to clipboard

A dart data parsing library modeled on swiftyjson

  • 1.0.3

    修复了不是 json 字符串强行取值导致系统异常

  • 1.0.1

    fix 1.0.0 error

  • 1.0.0

    修改库名字 darty_json to darty_json_safe

    JSON 类新增as()方法转换成对应类型 unwrap()方法转换为Unwrap类 Unwarp 新增 json get属 性转换为JSON

    修复了超出边界取值没有返回空的问题

  • 0.2.0

Unwrap adds a new DefaultValue method to set the default value

final value = Unwrap(null).map((e) => "hello $e").defaultValue("");
/// value is ""
  • 0.1.0
  • New 'Unwrap' class for unpacking
String? name = "king";
Unwrap(name).map((e) => "hello $e"); /// hello king
  • 0.0.2
  • fix double to int error
  • 0.0.1
  • Release the first available version. For version description, refer to readme
4
likes
120
pub points
77%
popularity

Publisher

unverified uploader

A dart data parsing library modeled on swiftyjson

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

More

Packages that depend on darty_json_safe