JSON Encoding Rules

The JSON encoding rules (JER), compared to XER or E-XER, provide a more compact and easy-to-use encoding method.

The encoding of ASN.1 types using JER is based on the JSON specification (ECMA-404/RFC-8259). JER combines the advantages of the popular JSON data format and the benefits of ASN.1: ASN.1 schemas are easier to read and can be used to validate regular JSON messages, ASN.1 endpoints can communicate with JSON endpoints (the encoding of primitive types matches the encoding of JSON messages), etc. JER enables ASN.1 users to easily debug and troubleshoot ASN.1 protocols.

Example

Age ::= INTEGER (0..7)
firstGrade Age ::= 6
         -- 6

Related Topics