×

JSON data validation

  • US 10,606,891 B2
  • Filed: 02/28/2017
  • Issued: 03/31/2020
  • Est. Priority Date: 02/28/2017
  • Status: Active Grant
First Claim
Patent Images

1. A JavaScript Object Notation (JSON) data validation method, comprising:

  • generating a description schema that describes valid JSON data using one or more JSON constructs, the description schema including a definition, wherein the definition includes an object definition, a string definition, or a number definition;

    identifying the definition as an object definition;

    obtaining a content model of the object definition;

    processing a particle of the object definition based on the content model, wherein the particle includes a sequence definition, a choice definition, or a named definition;

    converting the description schema to an Extensible Markup Language (XML) schema based on the processed particle;

    obtaining candidate JSON data for validation;

    converting the candidate JSON data to XML data; and

    validating the candidate JSON data based on the XML data conforming to the XML schema.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×