title: JSON Deserialization in Ruby
body: <p>Is there a JSON Deserialization equivalent of Java's  Google JSON in Ruby. With-out the necessity of defining any custom serializer or deserializer for each class, one can write a one-line code to convert JSON string into custom Java class as shown here under. </p>
  
  <p><strong><code>Address address=gson.fromJson(addressJsonStringForm, Address.class);</code></strong></p>
  
  <p>To accomplish this , one need-not put any annotations/interfaces in Address class nor write separate Deserializer utility  for every class that we need to deserialize. This  makes it very easy to deserialize/serialize classes from third party libraries. There are quite a lot of options on whether to serialize nulls / include /exclude certain attributes etc. I 'm looking for such a versatile JSON from and to custom object serialization/deserialization utility in Ruby. I 'm new to Ruby.</p>
  
  <p><strong>Reference:</strong> </p>
  
  <p><a href="https://dzone.com/articles/deserializing-json-java-object" rel="noreferrer">https://dzone.com/articles/deserializing-json-java-object</a></p>