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

[DRAFT] Node and Model Item Serializers #38

Open
wants to merge 10 commits into
base: main
Choose a base branch
from

Conversation

nikitawootten-nist
Copy link
Collaborator

@nikitawootten-nist nikitawootten-nist commented Jan 26, 2023

Committer Notes

Progress:

  • Happy path serialization of an assembly with fields and flags
  • Happy path deserialization of an assembly with fields and flags
  • Handle JSON-key
  • Handle JSON-value-key
  • Handle list types and JSON collapsible property
  • Validate min occurs
  • Validate max occurs
  • Handle XML wrapping
  • Choice (de)serialization

All Submissions:

Changes to Core Features:

  • Have you added an explanation of what your changes do and why you'd like us to include them?
  • Have you written new tests for your core changes, as applicable?
  • Have you included examples of how to use your new feature(s)?

@nikitawootten-nist nikitawootten-nist changed the title Node and Model Item Serializers [DRAFT] Node and Model Item Serializers Jan 26, 2023
* Assembly and Field serializers now have more direct control
* Made items a bit more readable with getters for item values
* Streamline assembly parsing of children
* Implement choice parsing
* Assembly parsing handles min-occurs (not max-occurs yet)
* Document parsing fully implemented
* Changed model definition's understanding isSimple
* Update Lerna & add watch build command
* Add `SimpleFieldItem` shorthand
* Simplify named model instance subclasses
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.

None yet

1 participant