NetLogo / Tortoise

Compiler and runtime engine for NetLogo models that runs in JavaScript 🐢
https://netlogoweb.org
Other
56 stars 27 forks source link

Updated the `table` extension with support of `from-json` and `to-json` #230

Closed CIVITAS-John closed 2 years ago

CIVITAS-John commented 2 years ago

The two primitives support embedded tables; will transform arrays and lists into JSON arrays, and JSON arrays into lists (because we have no way to distinguish between lists and arrays once serialized).

CIVITAS-John commented 2 years ago

P.S. This is John Chen's account.

CIVITAS-John commented 2 years ago

Oh, sorry that I forgot some files & some points here! I will re-submit one soon.