BAEL 1269 Intro to JSON-JAVA (#3493)
* Final commit * Made changes as per last review * Moved from core-java to json module
This commit is contained in:
committed by
Grzegorz Piwowarek
parent
3e4b6df194
commit
15f18bbb83
@@ -0,0 +1,13 @@
|
||||
package com.baeldung.jsonjava;
|
||||
|
||||
import org.json.JSONTokener;
|
||||
|
||||
public class JSONTokenerDemo {
|
||||
public static void main(String[] args) {
|
||||
JSONTokener jt = new JSONTokener("Sample String");
|
||||
|
||||
while(jt.more()) {
|
||||
System.out.println(jt.next());
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user