1
0
mirror of https://github.com/videojs/video.js.git synced 2024-12-29 02:57:21 +02:00
video.js/docs/api/vjs.JSON.md

31 lines
492 B
Markdown
Raw Normal View History

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
---