Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public static void main(String[] args){
- String obj= "{timestamp: 123456789}";
- Gson gson1 = new Gson();
- Object o = gson1.fromJson(obj, Object.class);
- String out = gson1.toJson(o);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement