Comments (4)
What version are you using? This feels like an older bug. Do you have an example that replicates the issue?
from daw_json_link.
I am using the latest github's pull.
You can use the same issue_370 as an example, adding the TemporarilyMutateBuffer option to the parser:
...
int main( ) {
bool error1_found = false;
namespace opt = daw::json::options;
try {
// Any extra member is an error globally
auto f = daw::json::from_json(
json_doc1,
opt::parse_flags<opt::UseExactMappingsByDefault::yes,
daw::json::options::TemporarilyMutateBuffer::yes> );
(void)f;
} catch( daw::json::json_exception const & ) { error1_found = true; }
ensure( error1_found );
....
from daw_json_link.
Thanks, I thought I disabled that fully and was going to remove it in the next version. It wasn't fruitful and resulted in slower codegen. I'll fix the error though, it should have worked, but done nothing
from daw_json_link.
perfect, thanks!
from daw_json_link.
Related Issues (20)
- Misspelled or unknown field names... how to detect them? HOT 2
- Parsing of empty string when using `options::LiteralAsStringOpt`
- Taking a param by value and then creating a copy of it HOT 1
- Replace tag dispatch HOT 1
- Error linking daw_json_link with MSVC HOT 7
- Problem serializing some strings HOT 6
- Json Value parsing can produce segmentation faults HOT 2
- Json Value parsing doesn't resolve escaped paths HOT 3
- json_value terminates on type() with exceptions enabled
- Missing contract for std::variant types HOT 4
- Error parsing empty string field when a data contract has custom nullable member: "An unexpected null value was encountered while serializing" HOT 3
- How to serialize associative containers? HOT 3
- Seeking Advice: implementing MsgPack deserialization HOT 1
- JsonRangeCheck::CheckForNarrowing crashes without raising exception HOT 4
- serialization failure with variant type alias mapping
- lack of daw/daw_constant.h HOT 3
- How to declare recursive self referencing data structure? HOT 10
- daw_is_detected HOT 3
- Support for streams of JSON data and incremental parsing? HOT 4
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 daw_json_link.