lucagez / lucagez/slow-json-stringify

Support for top level arrays

Open
#18 4 comments 0 reactions 0 assignees View on GitHub
question
Dominant language
JavaScript
Stars
474
Forks
16
PR merge metrics
No merged PRs in 30d

Description

Hi great library, nice performance.

Does it support stringifying a top level array?

I can't see a way to define it in the schema, everything seems to be an object. Equivalent in json schema would be something like:
```
{
"type": "array",
"items": {
"properties": {
"name": { "type": "string" },
"lastname": { "type": "string" }
},
"required": ["name", "lastname"]
}
}
```

Thanks!

Contributor guide

No contributing guide indexed for this repository

Research direction

No file, test, or entry point is named in the issue. Start by tracing how the schema currently requires an object, then define and verify support for a top-level array of objects matching the shown fields.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
backend-api-design
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.