Sort: Date

FYIcenter JSON Validator and Formatter
FYIcenter JSON Validator and Formatter is an online tool that checks for syntax errors of JSON text string and converts it to a pretty format.
2017-08-13, 365👍, 1💬

💬 2017-08-13 Neil: Not too bad!

JSON Tutorials
Where to find tutorials on JSON (JavaScript Object Notation) text string format? I want to know how to use JSON. Here is a large collection of tutorials to answer many frequently asked questions compiled by FYIcenter.com team about JSON text string format: Introduction of JSON What Is JSON? JSON Tex...
2017-08-13, 258👍, 0💬

Convert XML to JSON with PHP
How to convert an XML document to a JSON text string with PHP language? Currently, there is no built-in function or any standard extension that you can use to convert an XML document to a JSON text string. But you can use the following PHP example, xml_to_json_converter.php, to convert an XML docume...
2017-08-17, 200👍, 0💬

Examples of Invalid JSON Values
Where to see some Examples of Invalid JSON Values? Here are some Examples of Invalid JSON Values: 1. Invalid JSON Strings: 'John' - Wrong quotes "John says "Hello!"" - " inside the string must use escape sequence \" 2. Invalid JSON Numbers: $1.00 - Currency sign is now allowed in numbers 99.00 * 0.1...
2017-08-13, 195👍, 0💬

References to JSON Types Defined Externally
How to reference a JSON type that is defined externally in another JSON Schema? If a JSON type is defined externally in another JSON schema, you can reference it using its absolute address. For example, the following JSON schema has two external references. One refers to a JSON Type defined in a loc...
2017-08-25, 194👍, 0💬

JSON Type Unique Identifications
How to assign a unique identification to a JSON type in JSON Schema? Using "definitions" and "$ref" properties allows to define JSON types and reference them internally in the same JSON schema or externally in another JSON schema. You can also assign a unique identification to a JSON type with the "...
2017-08-20, 189👍, 0💬

'type' - JSON Schema Validation Keyword
How to use the "type" JSON Schema validation keyword to validate JSON instances? "type" is a generic JSON Schema validation keyword that always applied to the JSON instance. When "type" is specified, the JSON instance must match one of the given JSON types: "null", "boolean", "object", "array", "num...
2017-08-25, 186👍, 0💬

JSON Type Definitions and References
How to define a JSON type and reference it in JSON Schema? If you want to define a JSON type, and reference it later in your JSON Schema, you can: 1. Name your JSON type can put it inside the "definitions" property. For example, "rating" as a JSON type can be defined as shown below: { "definitions":...
2017-08-25, 183👍, 0💬

Multiple JSON Schema Validation Keywords
How multiple Validation Keywords work in JSON Schema? Multiple Validation Keywords work in JSON Schema with the "AND" logic. The order of validation keywords is not important. In other words, all of them are applied individually to the JSON instance based their specified conditions. For example, the...
2017-08-25, 182👍, 0💬

Mapping XML Elements with Mixed Contents to JSON Values
What is the standard to map XML elements with mixed contents to JSON values? There seems to be no industry standard on how to map XML elements with mixed contents to JSON values. But there are some commonly used conventions: 1. Converting text content in an XML complex element to a JSON object prope...
2017-08-17, 182👍, 0💬

Generic JSON Schema Validation Keywords
What are other generic JSON Schema validation keywords? Several other generic JSON Schema validation keywords are listed below. They are always applied to the JSON instance. "enum" - The JSON instance must match one of the elements in the given array. For example, JSON Schema: {"enum": ["YES", "NO"]...
2017-08-25, 177👍, 0💬

Implicit and Explicit ID of JSON Type
What are differences of the implicit ID and the explicit ID of a JSON type in JSON Schema? If a JSON type is defined under a "definitions" property, it could have two identifications: 1. Implicit identification: The implicit identification of a JSON type is an internal bookmark in the form of "#/def...
2017-08-20, 174👍, 0💬

JSON Schema Validation Keywords
How many validation keywords are supported in JSON Schema? The current JSON Schema specification supports 29 validation keywords: "multipleOf" - If the JSON instance is a number, it must be a multiple of the given value. "maximum" - If the JSON instance is a number, it must be less than or equal to ...
2017-09-01, 167👍, 0💬

JSON Schema Validation for JSON Array Values
What validation keywords I can use in JSON Schema to specifically validate JSON Array values? The current JSON Schema specification supports the following validation keywords to specifically validate JSON Array values. They are not applied if the JSON instance is not a JSON Array. "items" - If the J...
2017-09-01, 167👍, 0💬

JSON Schema Validation for JSON String Values
What validation keywords I can use in JSON Schema to specifically validate JSON String values? The current JSON Schema specification supports the following validation keywords to specifically validate JSON Strings values. They are not applied if the JSON instance is not a JSON String. "maxLength" - ...
2017-09-01, 164👍, 0💬

JSON-parse-Transformed.html - JSON.parse() Value Transformed
How to write a reviver function to transform values while the JSON.parse() function is parsing the JSON text string? Below is a good example on using a reviver function with the JSON.parse() call to transform parsed JSON element values: <!-- JSON-parse-Transformed.html Copyright (c) FYIcenter...
2017-09-08, 163👍, 0💬

JSON Schema Validation for JSON Number Values
What validation keywords I can use in JSON Schema to specifically validate JSON Number values? The current JSON Schema specification supports the following validation keywords to specifically validate JSON Number values. They are not applied if the JSON instance is not a JSON Number. "multipleOf" - ...
2017-09-01, 163👍, 0💬

JSON Schema Validation for JSON Object Values
What validation keywords I can use in JSON Schema to specifically validate JSON Object values? The current JSON Schema specification supports the following validation keywords to specifically validate JSON Object values. They are not applied if the JSON instance is not a JSON Object. "maxProperties"...
2017-09-01, 161👍, 0💬

JSON-stringify.html - JSON.stringify() Example Code
Where to get a JSON.stringify() Example Code in JavaScript? Here is a good JSON.stringify() example code in JavaScript. <!-- JSON-stringify.html Copyright (c) FYIcenter.com --> <html> <body> <script type="text/javascript"> var str1 = JSON.strin...
2017-09-08, 149👍, 0💬

JSON.stringify() Function in JavaScript
Where to get the detailed description of the JSON.stringify() Function in JavaScript? Here is the detailed description of the JSON.stringify() Function in JavaScript. Description - The JSON.stringify() method converts a JavaScript value to a JSON string, optionally replacing values if a replacer fun...
2017-09-08, 145👍, 0💬

JSON-stringify-Object.html - JSON.stringify() on Objects
How JSON.stringify() behaves on JavaScript objects? When processing an object, JSON.stringify() behave depending on the type of objects based on the following rules: Boolean, Number, and String objects are converted to the corresponding primitive JSON values during stringification. Date objects are ...
2017-09-08, 143👍, 0💬

Call JSON.stringify() with Replacer Function
What is a replacer function that you can provide the JSON.stringify() function call? The replacer function is an event handler function that is called repeatedly whenever a value, an array element or an object property is stringified during the execution of the JSON.stringify() function. The replace...
2017-09-08, 133👍, 0💬

FYIcenter XML to JSON Converter
FYIcenter XML to JSON Converter is an online tool that converts an XML document to a JSON text string.
2017-08-16, 100👍, 0💬

FYIcenter JSON to XML Converter
FYIcenter JSON to XML Converter is an online tool that converts a JSON text string to an XML document. JSOM object property names are limited to ASCII characters only.
2017-08-14, 100👍, 0💬

  Sort: Date