下面是一串JSON,我需要生成这种JSON,第一级的用很多命令都能生成,但第二级的怎么处理呢,比方"FMaterialId": {"FNumber": "测试分配3"},{"FNumber": "测试分配3"}这部分怎么生成。
{
"FRowType": "Standard",
"FMaterialId": {
"FNumber": "测试分配3"
},
"FUnitID": {
"FNumber": "Pcs"
},
"FMaterialDesc": "测试分配3",
"FWWPickMtlQty": 0.0,
"FRealQty": 11.0,
"FPriceUnitID": {
"FNumber": "Pcs"
},
"FPrice": 0.0,
"FDisPriceQty": 0.0,
"FStockStatusId": {
"FNumber": "KCZT01_SYS"
},
"FGiveAway": false,
"FOWNERTYPEID": "BD_OwnerOrg",
"FExtAuxUnitQty": 0.0,
"FCheckInComing": false,
"FIsReceiveUpdateStock": false,
"FInvoicedJoinQty": 0.0,
"FPriceBaseQty": 11.0,
"FRemainInStockUnitId": {
"FNumber": "Pcs"
},
"FBILLINGCLOSE": false,
"FRemainInStockQty": 11.0,
"FAPNotJoinQty": 11.0,
"FRemainInStockBaseQty": 11.0,
"FTaxPrice": 0.0,
"FEntryTaxRate": 0.0,
"FDiscountRate": 0.0,
"FCostPrice": 0.0,
"FAuxUnitQty": 0.0,
"FOWNERID": {
"FNumber": "100.01"
},
"FSRCBILLTYPEID": "",
"FSRCBillNo": "",
"FAllAmountExceptDisCount": 0.0,
"FPriceDiscount": 0.0,
"FConsumeSumQty": 0.0,
"FBaseConsumeSumQty": 0.0,
"FRejectsDiscountAmount": 0.0,
"FSalOutStockEntryId": 0,
"FBeforeDisPriceQty": 0.0,
"FPayableEntryID": 0,
"FSUBREQBILLSEQ": 0,
"FSUBREQENTRYID": 0
},
{
"FRowType": "Standard",
"FMaterialId": {
"FNumber": "分配测试"
},
"FUnitID": {
"FNumber": "Pcs"
},
"FMaterialDesc": "分配测试",
"FWWPickMtlQty": 0.0,
"FRealQty": 22.0,
"FPriceUnitID": {
"FNumber": "Pcs"
},
"FPrice": 0.0,
"FDisPriceQty": 0.0,
"FStockStatusId": {
"FNumber": "KCZT01_SYS"
},
"FGiveAway": false,
"FOWNERTYPEID": "BD_OwnerOrg",
"FExtAuxUnitQty": 0.0,
"FCheckInComing": false,
"FIsReceiveUpdateStock": false,
"FInvoicedJoinQty": 0.0,
"FPriceBaseQty": 22.0,
"FRemainInStockUnitId": {
"FNumber": "Pcs"
},
"FBILLINGCLOSE": false,
"FRemainInStockQty": 22.0,
"FAPNotJoinQty": 22.0,
"FRemainInStockBaseQty": 22.0,
"FTaxPrice": 0.0,
"FEntryTaxRate": 0.0,
"FDiscountRate": 0.0,
"FCostPrice": 0.0,
"FAuxUnitQty": 0.0,
"FOWNERID": {
"FNumber": "100.01"
},
"FSRCBILLTYPEID": "",
"FSRCBillNo": "",
"FAllAmountExceptDisCount": 0.0,
"FPriceDiscount": 0.0,
"FConsumeSumQty": 0.0,
"FBaseConsumeSumQty": 0.0,
"FRejectsDiscountAmount": 0.0,
"FSalOutStockEntryId": 0,
"FBeforeDisPriceQty": 0.0,
"FPayableEntryID": 0,
"FSUBREQBILLSEQ": 0,
"FSUBREQENTRYID": 0
},
{
"FRowType": "Standard",
"FMaterialId": {
"FNumber": "分配测试4"
},
"FUnitID": {
"FNumber": "Pcs"
},
"FMaterialDesc": "分配测试4",
"FWWPickMtlQty": 0.0,
"FRealQty": 33.0,
"FPriceUnitID": {
"FNumber": "Pcs"
},
"FPrice": 0.0,
"FDisPriceQty": 0.0,
"FStockStatusId": {
"FNumber": "KCZT01_SYS"
},
"FGiveAway": false,
"FOWNERTYPEID": "BD_OwnerOrg",
"FExtAuxUnitQty": 0.0,
"FCheckInComing": false,
"FIsReceiveUpdateStock": false,
"FInvoicedJoinQty": 0.0,
"FPriceBaseQty": 33.0,
"FRemainInStockUnitId": {
"FNumber": "Pcs"
},
"FBILLINGCLOSE": false,
"FRemainInStockQty": 33.0,
"FAPNotJoinQty": 33.0,
"FRemainInStockBaseQty": 33.0,
"FTaxPrice": 0.0,
"FEntryTaxRate": 0.0,
"FDiscountRate": 0.0,
"FCostPrice": 0.0,
"FAuxUnitQty": 0.0,
"FOWNERID": {
"FNumber": "100.01"
},
"FSRCBILLTYPEID": "",
"FSRCBillNo": "",
"FAllAmountExceptDisCount": 0.0,
"FPriceDiscount": 0.0,
"FConsumeSumQty": 0.0,
"FBaseConsumeSumQty": 0.0,
"FRejectsDiscountAmount": 0.0,
"FSalOutStockEntryId": 0,
"FBeforeDisPriceQty": 0.0,
"FPayableEntryID": 0,
"FSUBREQBILLSEQ": 0,
"FSUBREQENTRYID": 0
}
|