Closed thlorenz closed 2 years ago
Adds support for HashMap and BTreeMap field types.
HashMap
BTreeMap
They are added to the IDL as hashMap and btreeMap respectively. i.e. for HashMap<String, Vec<Custom>>.
hashMap
btreeMap
HashMap<String, Vec<Custom>>
{ "type": { "hashMap": [ { "option": "string" }, { "vec": { "defined": "Custom" } } ] } }
As more map types need support they can be added using a similar approach.
Summary
Adds support for
HashMap
andBTreeMap
field types.They are added to the IDL as
hashMap
andbtreeMap
respectively. i.e. forHashMap<String, Vec<Custom>>
.Remaining
As more map types need support they can be added using a similar approach.