How to Export Data to CSV file in JAVA

In this java tutorial and example you can learn “How to Export Data to CSV file in JAVA“. A Comma-Separated Values (CSV) file is just a normal plain-text file, store data in column by column, and split it by separators (commas). Export data to CSV with Java programming language is very easy. Note Writing a CSV file is just like… Read More »

How to Create JSON string in JavaScript 2018

How to Create JSON string in JavaScript – The JSON Format Evaluates to JavaScript Objects. The JSON format is syntactically identical to the code for creating JavaScript objects. Because of this similarity, a JavaScript program can easily convert JSON data into native JavaScript objects. Note: * The JSON syntax is derived from JavaScript object notation syntax, but the JSON format is text only. Code for reading and generating JSON data can be… Read More »

How to Access JSON Object in JavaScript 2018

Example How to Access JSON Object in JavaScript – Below is a JSON string. JSON String { “name”: “tiket”, “age”: 30, “address”: { “streetAddress”: “88 8nd Street”, “city”: “New York” }, “phoneNumber”: [ { “type”: “home”, “number”: “111 111-1111” }, { “type”: “fax”, “number”: “222 222-2222” } ] }   To access the JSON object in JavaScript, parse… Read More »

How To Convert JAVA object to / from JSON (Jackson 2.9.4)

How To Convert JAVA object to / from JSON (Jackson 2.9.4) will be explain in next java tutorial. This is how to use Jackson 1.x data binding to convert Java object to / from JSON. Note Jackson 1.x is a maintenance project, Jackson 1.x is obsolete, no more update, please refer to the latest and please use Jackson 2.9.4 instead.… Read More »

How to convert Java object to / from JSON (Gson)

How to convert Java object to / from JSON (Gson) and how to use Gson to convert Java object to / from JSON. JSON mean is JavaScript Object Notation, it is a lightweight data-interchange format. Java is all about object, often times, you need to convert an object into JSON format for data-interchange or vice verse. For example i… Read More »