Skip to content

397 read write api cleanup #409

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 21 commits into from
Jul 10, 2019
Merged

397 read write api cleanup #409

merged 21 commits into from
Jul 10, 2019

Conversation

jacobwilliams
Copy link
Owner

No description provided.

json_file function constructor now nullifies the input pointer [this breaks backward compatibility with this function since it didn't to that before]
added an explicit json_file.nullify() function.
added a new unit test for finalization and assignment.
Added a new json_file assignment function that performs a deep copy [this is another backward compatibility breakage]
Added a new json_file.add routine to add the root pointer.
some cleanup in json_parameters.
… -Infinity real values. If these value are encountered, they are serialized as strings (in quotes). See #395
…ull, and use_quiet_nan.

JSON null values an now be returned as NaN or 0.0 when retrieved as a real.
NaN, +-Infinity values can now optionally be serialized as null.
Moved argument declarations for the initialization routines into an include file.
… deserialize for both json_core and json_file). Fixes  #397. The old ones are still there for backward compatibility.

added a json_core print to console routine. Fixes #408
minor comment change.
@codecov-io
Copy link

Codecov Report

Merging #409 into master will increase coverage by 0.03%.
The diff coverage is 90.97%.

@@            Coverage Diff             @@
##           master     #409      +/-   ##
==========================================
+ Coverage   88.35%   88.39%   +0.03%     
==========================================
  Files           3        3              
  Lines        4808     4901      +93     
==========================================
+ Hits         4248     4332      +84     
- Misses        560      569       +9

@jacobwilliams jacobwilliams merged commit 7154337 into master Jul 10, 2019
@jacobwilliams jacobwilliams deleted the 397-read-write-api-cleanup branch July 10, 2019 04:07
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants