2013-11-05 03:03:51 +03:00
|
|
|
<!-- GENERATED FROM SOURCE -->
|
|
|
|
|
|
|
|
# vjs.JSON
|
|
|
|
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
## INDEX
|
|
|
|
|
|
|
|
- [METHODS](#methods)
|
|
|
|
- [parse](#parse-text-reviver-)
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
## METHODS
|
|
|
|
|
2013-11-06 04:12:20 +03:00
|
|
|
### parse( text, [reviver] )
|
2013-11-05 03:03:51 +03:00
|
|
|
> parse the json
|
|
|
|
|
|
|
|
##### PARAMETERS:
|
2013-11-06 04:12:20 +03:00
|
|
|
* __text__ `String` The JSON string to parse
|
|
|
|
* __reviver__ `Function` _(OPTIONAL)_ Optional function that can transform the results
|
2013-11-05 03:03:51 +03:00
|
|
|
|
|
|
|
##### RETURNS:
|
|
|
|
* `Object|Array` The parsed JSON
|
|
|
|
|
2013-11-06 04:12:20 +03:00
|
|
|
_defined in_: [src/js/json.js#L34](https://github.com/videojs/video.js/blob/master/src/js/json.js#L34)
|
2013-11-05 03:03:51 +03:00
|
|
|
|
|
|
|
---
|
|
|
|
|