Comments (1)
I was reading that JSON doesn't support functions. So, I just did the following for functions:
/**
* @default [Function=Date.now]
*/
And then I parse it correctly on my side. So, I don't think this is an issue with typson
.
from typson.
Related Issues (20)
- Option to generate individual schema files and ref them instead of inline? HOT 1
- support extends HOT 1
- parse error of object's array.
- Is it possible to use typson with the dojo AMD loader? HOT 1
- How about a typescript definition for a schema file? HOT 1
- Support TypeScript 1.3 HOT 6
- Join Paths Produces Incorrect Result When Passing in Path via Command Line
- support true numerical enums HOT 1
- TypeScript Definition Example for Swagger-UI 2.0 HOT 1
- Error: util.print: Use console.log instead HOT 1
- Can't extend `interface` in `module`
- Unable generate schemas when import is used HOT 5
- feature request: union types HOT 1
- Possible usecase: validating runtime AJAX responses HOT 2
- Semicolons required? HOT 1
- Support rules in array items?
- Invalid input script path logs error but doesn't reject promise
- How to generate string enums
- Demo only shows the first interface in the file.
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 typson.