json_utilities 0.1.3 json_utilities: ^0.1.3 copied to clipboard
A collection of json utilities to enhance the experience of working with json based models.
import 'package:json_utilities/json_utilities.dart';
var json = <String, dynamic>{
'root': 'value',
'root2': <String, dynamic>{'leaf': 'fruit'}
};
String value = JSONUtils().get(json,'root.leaf', 'defaultValue');