Two Laptop Bag*
The moose likes Other Open Source Projects and the fly likes like javascript has stringify() and parse() for convert objects Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "like javascript has stringify() and parse() for convert objects" Watch "like javascript has stringify() and parse() for convert objects" New topic
Author

like javascript has stringify() and parse() for convert objects

Leonidas Savvides
Ranch Hand

Joined: Jan 31, 2010
Posts: 403
like javascript has stringify() & parse() for convert objects java has parse() and..., OR serialization methods, what?
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60799
    
  65

Java does not have JSON support built in; you'll need a 3rd-party library for that. Some popular ones: Gson, Jackson, Stringtree...


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Leonidas Savvides
Ranch Hand

Joined: Jan 31, 2010
Posts: 403
what about serialization methods of java to write objects in permanent file storage?
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60799
    
  65

Object serialization is very different from transfer formats such as JSON. Which are you talking about? The JavaScript examples you cited are examples of data formats, not serialization.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: like javascript has stringify() and parse() for convert objects
 
Similar Threads
Accessing javabeans values in servlet
StringTokenizer to read CSV file
Need to use Java ArrayList in Javascript
Undefined on jQuery Ajax Request
Ajax foriegn word issue