Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ Generate JSON representation of the health data
``` javascript
var doc = bb.parse(data);
```
[`parse`](#parse) method senses the type of the health data, parses and converts it into JSON. All types of health data is converted into a [common model](http://developers.amida-tech.com/document_model.html). Validate `doc` according to the [common model](http://developers.amida-tech.com/document_model.html) schema
[parse method](https://www.scaler.com/topics/javascript/parse-json-javascript/) senses the type of the health data, parses and converts it into JSON. All types of health data is converted into a [common model](http://developers.amida-tech.com/document_model.html). Validate `doc` according to the [common model](http://developers.amida-tech.com/document_model.html) schema
``` javascript
var valid = bb.validator.validateDocumentModel(doc);
if (! valid) {
Expand Down