as-json
as-json copied to clipboard
JSON serialization/deserialization for AssemblyScript
This serves as a tracker for the status of SIMD implementation
Steps to reproduce: - In a new empty directory, [create a new AssemblyScript project ](https://www.assemblyscript.org/getting-started.html#setting-up-a-new-project). - Run `npm run asbuild` - it should compile without error - Run `npm install...
Hello, My WASM scripts handle large JSON data—often several megabytes—and produce even larger JSON files. I'm using [wazero](https://wazero.io/) as the runtime, but it's limited to 32 MB. I’ve encountered a...
Hello That large JSON couldn't be parsed correctly. It skips any element except one in `menu.groups` array [healthy-co.json](https://github.com/user-attachments/files/18393226/healthy-co.json) Model ```typescript import {JSON} from "json-as/assembly"; @json export class Name { value!:...
Right now a class decorated with `@json` containing fields which might not have types whose declaration have `@json` decorator panics at the runtime. Is there any way to have this...
## Issue When encoding a value of type `JSON.Raw` using `JSON.stringify`, the value is encoded as if it was a string: ```typescript const raw: JSON.Raw = `{"foo":42}`; const json =...
First of all thanks for all the work on this library, it's been incredibly useful to us! We ran into an issue where AssemblyScript complained that we were allocating too...