- 1

Json to Json-LD

Can someone translate this code? Var json=[{"name":"benz","latitude":"83.6377484","longitude":"-82.483920"}] Its a car.

24th Mar 2021, 11:04 AM
Athanasios Markopoulos
Athanasios Markopoulos - avatar
3 ответов
24th Mar 2021, 11:19 AM
Sharique Khan
Sharique Khan - avatar
+ 1
what is json-LD? json (JavaScript Object Notation) is a plain text object/data format based on javascript object literal format (wich some differences/limitation, such as key names should be quoted or not every data types can be 'translated' -- stringified)... your 'json' variable doesn't hold a json string, but a javascript object (array with one object inside it) ^^ as far as I know, there's only one json specification, wich should works same in every languages wich support it (unlike regular expression wich can slightly differ in their implementation depending on language) ^^
24th Mar 2021, 1:13 PM
visph
visph - avatar
0
This schema is json ld schema ?
24th Mar 2021, 11:53 AM
Athanasios Markopoulos
Athanasios Markopoulos - avatar