Report question

Question: How do I write a JSON Format for an object in the Java library that doesn't have an apply method?