Bael 1269 Intro to JSON Java (#3662)

* Final commit

* Made changes as per last review

* Moved from core-java to json module

* Interrupted thread before logging

* Separated out JSON serialization to Java Object

* Reverting access modifier
This commit is contained in:
ramansahasi
2018-03-19 22:28:02 +05:30
committed by daoire
parent f17816d5e1
commit d70fbdc273
8 changed files with 51 additions and 35 deletions

View File

@@ -6,16 +6,16 @@ import org.json.JSONTokener;
public class CDLDemo {
public static void main(String[] args) {
System.out.println("7.1. Producing JSONArray Directly from Comma Delimited Text: ");
System.out.println("8.1. Producing JSONArray Directly from Comma Delimited Text: ");
jsonArrayFromCDT();
System.out.println("\n7.2. Producing Comma Delimited Text from JSONArray: ");
System.out.println("\n8.2. Producing Comma Delimited Text from JSONArray: ");
cDTfromJSONArray();
System.out.println("\n7.3.1. Producing JSONArray of JSONObjects Using Comma Delimited Text: ");
System.out.println("\n8.3.1. Producing JSONArray of JSONObjects Using Comma Delimited Text: ");
jaOfJOFromCDT2();
System.out.println("\n7.3.2. Producing JSONArray of JSONObjects Using Comma Delimited Text: ");
System.out.println("\n8.3.2. Producing JSONArray of JSONObjects Using Comma Delimited Text: ");
jaOfJOFromCDT2();
}