mouse07410 / asn1c

The ASN.1 Compiler
http://lionet.info/asn1c/
BSD 2-Clause "Simplified" License
94 stars 70 forks source link

JER decoder #144

Closed v0-e closed 9 months ago

v0-e commented 9 months ago

This PR provides JSON decoding support. This is a basic implementation mostly tested against the output of jer_encode. It should be able to decode anything that the current JSON encoder outputs.

Similarly to the encoder, the decoder also exhibits some issues. The problematic types include, but may not be limited to, ANY, BMPString, SET, RELATIVE-OID, UniversalString, and NULL. While some issues may be relatively easy to fix, I have excluded their resolution from this PR as they impact both the encoder and decoder.

I'll also try to add some tests in the meanwhile.

mouse07410 commented 9 months ago

Thank you!