Upgrade#
1.x to 2.0#
*List
objects were renamed to*Array
to align with JSON terminology.ListValue
->ArrayValue
InlineList
->InlineArray
CompactList
->CompactArray
Iterable wrappers (
ArrayValue
,ObjectValue
,InlineArray
,InlineObject
,CompactArray
,CompactObject
) no longer resolveJsonSerializable
andJson5Serializable
automatically.ArrayValue::fromSerializable
supports bothJsonSerializable
andJson5Serializable
.ArrayValue::fromJsonSerializable
supports onlyJsonSerializable
.