janeklb / jsoncharinputreader Goto Github PK
View Code? Open in Web Editor NEWRead and process JSON data streams, character by character
License: MIT License
Read and process JSON data streams, character by character
License: MIT License
In strings, doubles or such, it will remove 0 characters. Not the behaviour one would desire ;)
I'm checking whether I can find a fix for this.
Ran into this today, no fix as of yet, but we have a json feed which has occasionally brackets inside of the data sets.
Example
[ { "cLabel": "$69} for Carpet Cleaning for Three Rooms ($405 Value)." }, { "cLabel": "This is a good label" } ]
The first cLabel will think it's closed after $69}
and not return a valid json object. I only ran into this with the curly brace, I would assume square brackets have the same issue looking at the STATE_INSQUARE
condition in JSONCharInputReader::readChar()
I would think we can check if we're in a string when we're also checking for brackets?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.