Comments (3)
also, there is another potential streaming parser here: https://github.com/Floby/node-json-streams
and i've opened a similar issue there
from jsonparse.
This is something you can easily implement using this library. Using the event hook you can do any x-path style query and emit your own custom events. I don't want to limit the usefulness of this library or bloat it.
from jsonparse.
ah, yes.
just reading the code, after learning from floby's project.
the onValue function is called when the object is finished parsing, and then I can look at the stack to see where it is in the object.
thanks!
from jsonparse.
Related Issues (20)
- Not working with browserify buffers HOT 6
- Streaming multi-byte UTF8 characters not being parsed correctly HOT 1
- Dubious-looking assignment needs a comment (or fix). HOT 3
- Stuck in for loop for certain multi-byte utf8 characters in an open quote HOT 4
- Is this module compatible with Streams2? HOT 1
- how to parse selected values from json? HOT 1
- Please sign cryptographilly git tag and release signature file HOT 1
- Erroneously rounds long integer numbers HOT 13
- Infinite loop still exists for some characters HOT 4
- Status of this Library HOT 4
- Allow pars escaped surrogate pairs HOT 5
- Simpler implementation is possible? HOT 8
- Fix depreciation warning
- RangeError for toString('utf8') on Nodejs 8.6.0 HOT 1
- Invalid JSON (Invalid UTF-8 character at position 0 in state STRING1) HOT 3
- "buffer" and "i" on line 413 undefined?
- Some big numbers not converted to string
- new Buffer() constructor is deprecated
- Enable parsing of UTF-8 characters HOT 2
- Memory leak HOT 6
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 jsonparse.