@@ -33,7 +33,7 @@ An xml of format
3333
3434 //In earlier version it used to serialize to
3535 {"root":{"person":{"fname":"samarjit","lname":"samanta","content":"normal text"}}}
36-
36+ ```
3737##JSON to XML Serialization##
3838
3939Since we have the attribute marked in the json, we can create back the exact xml
@@ -48,7 +48,7 @@ Since we have the attribute marked in the json, we can create back the exact xml
4848 {"root":{"person":{"content":"normal text","lname":"samanta","fname":"samarjit"}}}
4949 //produces
5050 <root ><person >normal text<lname >samanta</lname ><fname >samarjit</fname ></person ></root >
51-
51+ ```
5252
5353Example of libraries that uses model as combination of Map<String,Object> and List<Object > and arbitrary java beans.
5454
@@ -70,7 +70,7 @@ Example of libraries that uses model as combination of Map<String,Object> and Li
7070 String ret = out. toString();
7171
7272 System . out. println(ret);
73-
73+ ```
7474Result
7575
7676 //This version produces
9090 System . out. println(Ognl . getValue(" ar[0]" , rootObject , jobj1 ));
9191 Object obj2 = Ognl . getValue(" someBean.sss" ,context);
9292 System . out. println(obj2);
93-
93+ ```
9494Result
9595This version produces
9696``` java
@@ -99,7 +99,7 @@ This version produces
9999
100100 // Earlier version json
101101 ognl. NoSuchPropertyException : org.json. JSONObject . ar
102-
102+ ```
103103
104104
105105Please refer to the original README for other functions.
0 commit comments