Loading ...
Sorry, an error occurred while loading the content.

Re: [json] JSON to Java bean

Expand Messages
  • Tatu Saloranta
    On Mon, Mar 28, 2011 at 2:15 PM, gtcul ... You are better of using a package that does data binding, such as Jackson or GSON. -+ Tatu +-
    Message 1 of 2 , Mar 28 2:21 PM
    • 0 Attachment
      On Mon, Mar 28, 2011 at 2:15 PM, gtcul
      <travis.culbreth@...> wrote:
      > Hi All,
      >
      > I'm sure this has been asked before but I cannot find it here, so here is my question
      >
      > Is there a simple way to convert/deserialize and JSON object into a Java bean?  There is the toBean() method but that looks like it is only for primitives.  I know you can convert a Java bean to a JSON object.
      >
      > GSON has something I could use but I don't want to use GSON.

      You are better of using a package that does data binding, such as
      Jackson or GSON.

      -+ Tatu +-
    Your message has been successfully submitted and would be delivered to recipients shortly.