Detalhes do pacote

testdata-w3c-json-form

LinusU4.5kMIT1.0.0

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

readme (leia-me)

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
}