Skip to content
New issue

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

JSON writer no longer converts fields to String #30

Merged
merged 1 commit into from
Nov 30, 2022
Merged

Conversation

alexdunnjpl
Copy link
Contributor

🗒️ Summary

Previously, JSON would be written such that any PDS4 properties parsed as a single element would be converted back to a scalar value first.

This behaviour is no longer considered to be desirable and is now eliminated - all properties except for the top-level title and vid will be written into JSON as arrays.

⚙️ Test Data and/or Report

Only tested manually

♻️ Related Issues

fixes #29

Copy link
Member

@nutjob4life nutjob4life left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

NJsonDocUtils.writeField() converts single-element-valued collection to String
2 participants