|
Hello
I am using yajl in the version from Scott Klement to parse JSON. But I have a problem with this one:
{
"SalesOrderNo":"000001",
"PackageQuantity":1.0,
"PalletQuantity":0.0,
"Weight":3.44,
"SalesOrderState":40,
"SalesOrderItems":
[
{
"PositionsNo":"1",
"ItemNo":"31200200",
*"MeasureUnit"{"UnitDesc":"Stück","UnitDescShort":"Stk","UnitCode":"01","UnitItemCount":1.0,"DecimalCount":0},*
"ItemDescription":"Granito 1 Sahara",
"SortNo":1,
"TotalQuantity":11.0,
"QuantityPicked":11.0,
"StorageLocation":"A0201 03",
"IsFloorItem":true
},
{
"PositionsNo":"2",
"ItemNo":"31200201",
*"MeasureUnit":{"UnitDesc":"Multipack","UnitDescShort":"Pack","UnitCode":"02","UnitItemCount":5.0,"DecimalCount":0},*
"ItemDescription":"Granito 2 Sahara",
"SortNo":2,
"TotalQuantity":12.0,
"QuantityPicked":12.0,
"StorageLocation":"A0201 04",
"IsFloorItem":false
}
]
}
My problem is with the two nodes, that I have put to bold. How can I handle those with yajl?
Best regards
Jan
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.