We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I have the following code:
request({url: 'https://myurl.com/stream?method=json'}) .pipe(JSONStream.parse('*')) .pipe(es.mapSync(function (data) { console.log(data); var var1 = JSON.stringify(data); io.emit('notification', var1); }))
which works perfect for receiving ALL data from the json stream or when I change
.pipe(JSONStream.parse('*'))
to
.pipe(JSONStream.parse('Name'))
to get only the name.
However what do I need to do in order to get
Name, Address and ZIP from the json stream? I could nowhere find the answer to this.
The JSON looks like this:
{"Date":"2015-03-16T13:00:12.860630336Z","Name":"Peter","Address":"Demostreet","ZIP":"1234"}
The text was updated successfully, but these errors were encountered:
Wrong repo. https://github.com/dominictarr/JSONStream
Sorry, something went wrong.
No branches or pull requests
I have the following code:
which works perfect for receiving ALL data from the json stream or when I change
to
to get only the name.
However what do I need to do in order to get
Name, Address and ZIP from the json stream? I could nowhere find the answer to this.
The JSON looks like this:
The text was updated successfully, but these errors were encountered: