treeform / jsony

A loose, direct to object json parser with hooks.
MIT License
266 stars 34 forks source link

Adding support for CritBitTree #75

Open georgelemon opened 1 year ago

georgelemon commented 1 year ago

Adding support for std/critbits is easy

https://github.com/treeform/jsony/blob/4fa3a9b52649e31783ab2165b5476d5737c8842c/src/jsony.nim#L11-L13

To be changed to

type
  SomeTable*[K, V] = Table[K, V] | OrderedTable[K, V] |
    TableRef[K, V] | OrderedTableRef[K, V] | CritBitTree[V]
treeform commented 1 year ago

Can you make a PR?