Running the version without arrayProp
[nodemon] starting `node --no-warnings --experimental-specifier-resolution=node --loader ts-node/esm try_circuit_serialization.ts`
* checking if JSONized objects match after parsing
{ a: '1', b: { value: '1' } }
{ a: '1', b: { value: '1' } }
* checking if after parsing the object retains field-based type
if hasn't crashed then ok...
and if we run with arrayProp
TypeError: o.toJSON is not a function
at /Users/marek/Development/octa/prototype/transaction-data-repository/node_modules/snarkyjs/dist/server/index.js:3:4884
at Array.forEach (<anonymous>)
at Function.toJSON (/Users/marek/Development/octa/prototype/transaction-data-repository/node_modules/snarkyjs/dist/server/index.js:3:4859)
at Bla.toJSON (/Users/marek/Development/octa/prototype/transaction-data-repository/node_modules/snarkyjs/dist/server/index.js:3:4411)
at file:///Users/marek/Development/octa/prototype/transaction-data-repository/try_circuit_serialization_array.ts:42:44
[nodemon] app crashed - waiting for file changes before starting...