JTokenParsing
-
igot this want parse title
},
"items": [
{
"title": "Head up display (lifetime)",
"product_id": 15278,
"discount_code": null,
"activation_info": null,
"price": 13.99,
"gift": false
},
{
i put items.title but failed to parse
-
It needs to be a correctly formatted json object.
Your object starts with},
and ends with,{
which is completely wrong.
An object should be formatted like this{ "items": [ { "field1": value1, "field2": value2 }, { "field1": value1, "field2": value2 }, ] }
-
If you don't know what I'm talking about, don't bother with json and just do LR
-
actually i want to say it have white space if i do with LR .
"items": [
{
"title": "
-
Hmm I don't think I understand fully, I will try to reproduce what you said using regex (so use the regex tab)
Pattern:items.*"title": "([^"]*)"
Output:[1]
Let me know if it worked.
-
not work but thank for reply
-
@walpak said in JTokenParsing:
igot this want parse title
},
"items": [
{
"title": "Head up display (lifetime)",
"product_id": 15278,
"discount_code": null,
"activation_info": null,
"price": 13.99,
"gift": false
},
{
i put items.title but failed to parseCan you post valid json so we can give correct jtoken