Changes

193 bytes added ,  21:19, 9 January 2021
Add note that listOf codecs produce immutable Lists
Line 101: Line 101:     
Codecs created via listOf() serialize things to listlike objects, such as [] json arrays or ListNBTs.
 
Codecs created via listOf() serialize things to listlike objects, such as [] json arrays or ListNBTs.
 +
 +
Deserializing a list in this manner produces an ''immutable'' list. If a mutable list is needed, [[Codecs#Equivalent_Types_and_xmap|xmap]] can be used to convert the list after deserializing.
    
== Records ==
 
== Records ==
22

edits