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

[WIP] feat: JSON Deserializer/Denormalizer #506

Closed
wants to merge 7 commits into from
Closed
Show file tree
Hide file tree
Changes from 6 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ written in _TypeScript_ and compiled for the target.
* Support the downstream implementation of custom XML-serializers tailored to specific environments
by providing an abstract base class that takes care of normalization and BomRef-discrimination.
This is done, because there is no universal XML support in _JavaScript_.
* Deserialization:
* Provide a JSON-deserializer for all target environments.

## Capabilities

Expand Down Expand Up @@ -82,8 +84,10 @@ written in _TypeScript_ and compiled for the target.
* `1.3`
* `1.2`
* Normalizers that convert data models to JSON structures
* Denormalizers that convert JSON structures to data models
* Normalizers that convert data models to XML structures
* Universal serializer that converts `Bom` data models to JSON string
* Deserializer that converts JSON string to `Bom` data models
* Serializer that converts `Bom` data models to XML string:
* Specific to _WebBrowsers_: implementation utilizes browser-specific document generators and printers.
* Specific to _Node.js_: implementation plugs/requires/utilizes one of the following _optional_ libraries
Expand Down
2 changes: 1 addition & 1 deletion src/serialize/index.common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ export * from './baseSerializer'
// region JSON

export * as JSON from './json'
export * from './jsonDeserializer'
export * from './jsonSerializer'
// export * from './jsonDeserializer' // @TODO

// endregion JSON

Expand Down
Loading