Upgrade#
1.x to 2.0#
*List*objects were renamed to*Array*to align with JSON terminology.ListValue->ArrayValueInlineList->InlineArrayCompactList->CompactArraynew Options(inlineListPadding: ...)->new Options(inlineArrayPadding: ...)
Iterable wrappers (
ArrayValue,ObjectValue,InlineArray,InlineObject,CompactArray,CompactObject) no longer resolveJsonSerializableandJson5Serializableautomatically.ArrayValue::fromSerializablesupports bothJsonSerializableandJson5Serializable.ArrayValue::fromJsonSerializablesupports onlyJsonSerializable.