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

A dart data parsing library modeled on swiftyjson

  • 1.0.2

    fix 修复读取空数组或者空字典时候会自动走路径方法讲 key 转换为数组报错

  • 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
140
points
489
downloads

Publisher

unverified uploader

Weekly Downloads

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