Comments (1)
No, that would be a violation of the JSON specification. We represent dates as string. Converting them to integers in the schema would be up to the user.
We should document all of this in the README.
BTW, this is why we use Date.now()
in pino: pinojs/pino#5.
from fast-json-stringify.
Related Issues (20)
- oneOf schemas not matching when an object has a custom toJSON() method HOT 1
- standalone mode can't be devDependancy HOT 5
- Support TypedArrays HOT 1
- Support of JSON Schema draft 2020-12 HOT 4
- Breaking the typia performance advantage HOT 4
- Schema serialization of anyOf/oneOf properties are parsed incorrectly HOT 1
- Recursive validation schema compiles but fails at runtime HOT 5
- error while resolving nested objects HOT 2
- `node:crypto` issues in Next.js HOT 7
- Tuple of date-time does not allow Date HOT 3
- Issue with custom keyword not working in fast-json-stringify HOT 11
- Response schema compiler generated validation code does not check for null values on optional object fields HOT 9
- lack of strictSchema in ajv options results in silent typos
- merged schema cache is messed up HOT 2
- emit CJS/ESM syntax in standalone mode based on AJV code options HOT 1
- When `asString` receives `undefined` an exception is thrown HOT 2
- Date coercion isn't supported by TypeScript types HOT 4
- allOf Schema and additionalProperties result in unexpected result HOT 10
- asStringSmall seem slower than JSON.stringify
- Fast json stringify vs JSON stringify HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fast-json-stringify.