json - as json vs as data? #54
cfjedimaster
started this conversation in
General
Replies: 1 comment 1 reply
-
|
I'm using "JSON value" as noted in the specification. So, it can be any value represented by JSON. So yes, |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
When I see the
.jsonmethod mentions, the docs say "reads the given file and returns a JSON value.".I'm probably overthinking it, but when I see "JSON value", I see "a string that is valid json". Before I saw the doc I had assumed, "It's going to read the value, assume it's JSON, and then parse it, returning regular JavaScript data."
So I guess my questions are - is it automatically parsing the JSON and if so, isn't it returning returning... I guess just 'regular' value (objects, arrays, whatever the JSON represents)?
Beta Was this translation helpful? Give feedback.
All reactions