Java Json String Create toJson(Object value)

Here you can find the source of toJson(Object value)

Description

to Json

License

Open Source License

Declaration

public static final String toJson(Object value) 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

public class Main {
    public static final String toJson(Object value) {
        return value.toString();
    }/*from  w  w w.j av  a  2  s. c  om*/
}

Related

  1. toJson()
  2. toJson(final Document doc)
  3. toJson(String jsonp)
  4. toJson(String org)
  5. toJson(String s)
  6. toJson(String str)