JsonUtils class

Constructors

JsonUtils()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

apply(JsonObject oldJson, JsonMapList patches, {bool strict = false}) JsonMap
check(JsonMapList mine, JsonMapList yours) → ConflictModel?
diff(JsonObject o1, JsonObject o2) JsonMapList
Calculate key-stable patches enforcing a 'append-only' rule for keys and replace-only for arrays (remove are only allowed for arrays).
patch(JsonObject oldJson, JsonObject newJson, {bool strict = false}) JsonMap
Patch oldJson with newJson.
toJson<TValue extends JsonObject>(TValue value, {List<String> retain = const [], List<String> remove = const []}) → dynamic