VaJson Requirements
status: draft
security: YES
safety: ASIL_B

Requirements#

VaJson implements the following generic JSON module requirements:

In addition, the following VaJson-specific requirements apply:

JSON Validation
status: valid
security: NO
safety: ASIL_B
reqtype: Functional

VaJson checks the well-formedness of JSON data. Errors shall include the reason and location in the JSON document for malformed JSON.

JSON Deserialization RFC extension trailing commas
status: valid
security: NO
safety: ASIL_B
reqtype: Functional

VaJson shall ignore trailing commas. This behavior extends RFC 8259.

JSON Deserialization RFC extension hexadecimal integers
status: valid
security: NO
safety: ASIL_B
reqtype: Functional

VaJson shall accept hexadecimal integers. This behavior extends RFC 8259.

Unicode Support
status: valid
security: NO
safety: ASIL_B
reqtype: Functional

VaJson shall encode and decode UTF-8 encoded strings.

Safety Impact#

VaJson library ASIL level
status: valid
security: NO
safety: ASIL_B
reqtype: Functional

The VaJson library shall be ASIL-B compliant.