code: public static Document fromJson(String jsonString) {
        try {
           return read(Resources.fromString(jsonString));
        } catch (IOException e) {
           throw Throwables.propagate(e);
        }
     }
docs: Creates a document from a JSON representation (created by the write or toJson methods)
  
  @param jsonString the json string
  @return the document