Skip to content

LinusU/testdata-w3c-json-form

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Testdata for W3C JSON form

This repository contains test data intended to be used by people building query parsers that follows the W3C JSON form spec.

Usage

The export of this module is an array with objects following the structure below.

{
  name: String,    // A short name for this case
  fields: [{       // An array of fields
    key: String,   // - The name of this field
    value: String  // - The value of this field
  }],
  expected: Object // An object representing the expected output
}