Change-Id: If8e0ee748fb3f595f2e3e39ef40800fd35d317d8
Signed-off-by: Robert Varga <rovarga@cisco.com>
"anyxml-in-data":"foo"
}
],
"anyxml-in-data":"foo"
}
],
"lf13-any":{
"anyxml-in-data":"foo"
},
"lf13-any":{
"anyxml-in-data":"foo"
},
"lf14-any":"anyxml data",
"lf14-any":"anyxml data",
"lflst11":["lflst11 value1","lflst11 value2"],
"lflst11":["lflst11 value1","lflst11 value2"],
"key111":"key111 value",
"lf112":"/complexjson:cont1/complexjson:lflst11",
"lf113":"lf113 value",
"lf111":"lf111 value"
}
"key111":"key111 value",
"lf112":"/complexjson:cont1/complexjson:lflst11",
"lf113":"lf113 value",
"lf111":"lf111 value"
}
"lf11" : "453",
"lf12_1" : "lf12 value",
"lf11" : "453",
"lf12_1" : "lf12 value",
"complexjson-augmentation:lf15_11" : "lf15_11 value from augmentation",
"complexjson-augmentation:lf15_12" : "lf15_12 value from augmentation",
"lf15_11" : "one two",
"lf15_12" : "complexjson:lf11",
"lf15_21" : "lf15_21 value",
"complexjson-augmentation:lf15_11" : "lf15_11 value from augmentation",
"complexjson-augmentation:lf15_12" : "lf15_12 value from augmentation",
"lf15_11" : "one two",
"lf15_12" : "complexjson:lf11",
"lf15_21" : "lf15_21 value",
- "lf17" : "lf17 value",
-
+ "lf17" : "lf17 value",
+
"lst12":[
{
"lf121":"lf121 value"
}
]
}
"lst12":[
{
"lf121":"lf121 value"
}
]
}
-}
\ No newline at end of file
namespace "ns:complex:json";
prefix cj;
namespace "ns:complex:json";
prefix cj;
- revision "2014-08-11" {
+ revision "2014-08-11" {
anyxml lf12-any;
anyxml lf13-any;
anyxml lf14-any;
anyxml lf12-any;
anyxml lf13-any;
anyxml lf14-any;
leaf lf11 {
type int32;
}
leaf lf11 {
type int32;
}
leaf-list lflst11 {
type string;
}
leaf-list lflst11 {
type string;
}
list lst11 {
key "key111 lf111";
leaf key111 {
list lst11 {
key "key111 lf111";
leaf key111 {
list lst12 {
leaf lf121 {
type string;
list lst12 {
leaf lf121 {
type string;
choice choc11 {
case c11A {
leaf lf13 {
choice choc11 {
case c11A {
leaf lf13 {
augment "/cont1/choc12" {
case c12B {
leaf lf17 {
type string;
}
}
augment "/cont1/choc12" {
case c12B {
leaf lf17 {
type string;
}
}
augment "/cont1" {
container cont11 {
leaf lf111 {
type string;
}
augment "/cont1" {
container cont11 {
leaf lf111 {
type string;
}
augment "/cont1" {
leaf lf12_1 {
augment "/cont1" {
leaf lf12_1 {
leaf lf12_2 {
type string;
}
}
leaf lf12_2 {
type string;
}
}
augment "/cont1" {
leaf lf12_3 {
augment "/cont1" {
leaf lf12_3 {
augment "/cont1/choc11" {
case c11B {
leaf lf14_1 {
augment "/cont1/choc11" {
case c11B {
leaf lf14_1 {
augment "/cont1/choc11" {
case c11C {
leaf lf14_2 {
augment "/cont1/choc11" {
case c11C {
leaf lf14_2 {
augment "/cont1/choc11/c11A" {
leaf lf15_11 {
augment "/cont1/choc11/c11A" {
leaf lf15_11 {
- type bits {
- bit one;
- bit two;
- bit three;
- }
- }
+ type bits {
+ bit one;
+ bit two;
+ bit three;
+ }
+ }
- type identityref {
- base ident;
- }
- }
-
+ type identityref {
+ base ident;
+ }
+ }
+
augment "/cont1/choc11/c11A" {
leaf lf15_21 {
augment "/cont1/choc11/c11A" {
leaf lf15_21 {