Комментарии:
thx sir. your lecture is so helpful.
ОтветитьFileNotFoundException :filename.json : open failed : ENOENT ( No such file or directory) but my data.json file already exists in the project directory
ОтветитьThank you for the video Professor.
I have json file locally and I am trying to read its values and edit before I send to server. I followed your video but I am getting below error at line 17 in your video reference,
class org.json.simple.JSONArray cannot be cast to class org.json.simple.JSONObject
Please do help!
Fantastic...
ОтветитьGetting ClassNotFoundException error
ОтветитьWhich shortcut did you use to import package?
ОтветитьThank you! The lesson helped me so much!
ОтветитьFileNotFoundException :((((
Ответитьhow to reading data from json file without key?
or
get keys present in json?
String age = (String) jsonObj.get("age");
System.out.println("age is :" + age);
say i have age as key and its value say 25.
which variable should i store it into ? i am getting error while trying to store it into String and casting it to String.
can you please suggest about it ?
Perfect practical explanation ! Thank you ! Keep on !
ОтветитьMy JSON file has some value is a number , so how can i take it , im trying with Integer instead of String , like in your video String I replace it by Integer but it didnt work . It said ClassCastException
here some of my JSON file :
{
"height":25,
"id":1,
"name":"aaa",
"rotation":0,
"type":"",
"visible":true,
"width":29,
"x":12,
"y":-116
}
the package org.json.simple.*; doesn't exists anymore
ОтветитьThank you my man! You saved me!
ОтветитьAnyone getting error: "class org.json.simple.JSONArray cannot be cast to class org.json.simple.JsonObject" on line 17?
Ответитьcan you if you do this tutorial maybe once again with like multiple json files can you show us how the json looks? cuz me my self i am looking something specific, for example i would like to save each person in a json file but each person has a job, age, birthday etc but i want it to be displayed nicely
ОтветитьHow to make it work for the multiple JSON entries in a file?
ОтветитьI'm a bad listener, so him yelling at me actually gets me to understand xD
Ответитьis possible read external json file from url ?
ОтветитьThumbs up! nice explanation
ОтветитьMy Eclipse isn't importing the same Json parser class as you are for some reason
ОтветитьI am getting the below error. Pls help me "Unexpected character (O) at position 11.
at org.json.simple.parser.Yylex.yylex(Yylex.java:610)"
Hot Dog! This is a bad man!!
Ответитьi have this error (Unexpected character (i) at position 132.) could anyone help me please
ОтветитьI'm using IntelliJ IDEA, these jar files don not work
ОтветитьNetbeans 8.1: The org package doesn't have a json package.
ОтветитьI am new to JSON and want to start for begging. Please show the first class too.
ОтветитьHey, where Can I get your JSON File for the example?
Would like to try it out!
Thanks! Great tutorial.
Ответитьhi. I am getting a exception that JASONArray cant be typecast as a JASONObject. How to handle it?
ОтветитьThis gives me syntax error in netbeans 8.2. What development platform is being used in the video?
Ответитьwhat json library r you used? I mean the JAR files that you import to your project
Ответитьhey guyzz...i have a question..ok..in my android game data..i found a user.json file but when i open it ..it has a tax that i cant read..means it's unreadable and it's not like simple language .so how i conver into readable file and edit..plzz help
Ответитьwhat json library r you used?
ОтветитьCould you send this project to me? [email protected]...
ОтветитьWhich library did you use? Json-simple-1.1.1?
ОтветитьJSONParser constructor takes 3 arguments, how come it does not require you to insert them ?
Ответить