dojo._base.json

since:V?

dojo._base.json contains functions to deal with JSON data.

As with all dojo._base components, these functions are included within Dojo Base. You get this functionality by just including dojo.js in your page.

Features

  • dojo.fromJson

    Parses a JSON string to return a JavaScript object

  • dojo.toJson

    Returns a JSON serialization of an object

Table of Contents

Error in the documentation? Can’t find what you are looking for? Let us know!