Serialization & JSON
Serialize richer JavaScript values and prepare JSON payloads.
Choose a library or tool
3 options in this category.
devalue
Library / toolA serializer for JavaScript values that go beyond ordinary JSON.
- Good for
- Transferring structured application state across server and client boundaries.
fast-json-stringify
Library / toolA schema-driven JSON serializer.
- Good for
- Serializing known response shapes in performance-sensitive server code.
SuperJSON
Library / toolA serializer that preserves JavaScript values beyond plain JSON types.
- Good for
- Moving dates and other richer values between application layers.