Comments (6)
Hm, jsx works well with explicit_end option.
from jsx.
I'm happy you found the solution, but this behaviour is inconsistent with what I want jsx to do. I'm going to make it more intuitive. Thanks for finding it
from jsx.
the decoder is now much smarter about what's unambiguously incomplete and what is not. you should no longer need the explicit_end
flag for cases that aren't ambiguous
Eshell V5.9.1 (abort with ^G)
1> {incomplete, F} = jsx:decode(<<"{"library": "jsx", "awesome":0">>).
{incomplete,#Fun}
2> F(<<".21}">>).
[{<<"library">>,<<"jsx">>},{<<"awesome">>,0.21}]
from jsx.
It works for integer() too, thanks a lot.
Is develop brach is stable enough for production use or should I wait for merge this patch into master?
from jsx.
this is the only significant difference between develop and master so it should be safe to use but there could be lurking edge cases i haven't considered. if you don't use explicit_end
ever it's definitely safe
from jsx.
Ok, I'll try, thanks.
from jsx.
Related Issues (20)
- jsx detect maps support may fail HOT 4
- Emoji Surrogate support HOT 4
- encode/decode datetime HOT 5
- How i can Insert RAW data? HOT 4
- Encode strings as strings HOT 1
- Parsing multiple json as stream HOT 3
- when can support json arrays
- Timestamp breaks encoding.
- Missing 2.10.0 tag HOT 1
- Configurable float formatting
- why?write HOT 1
- Dialyzer error for `with_tail`
- Release request HOT 8
- jsx_verify:config/0 type gone missing (dialyzer error) HOT 3
- Why return such a format? HOT 1
- Release request HOT 4
- Support the # as another way to comment strings
- Sensible default for tuple
- Documentation is broken on Hex for all releases
- B.C. dates convertes year to ****
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 jsx.