Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Your class should look something like: (I say something like because I marked as Strings fields that I was not sure what you want them to be)</p> <pre><code>public class MyClass { private String errorDesc; private Integer ownerId; private String departments; private String validUser; private String clientId; private String displayPrio; private String allowSimpleProject; private String simpleProjectType; private ReqDept reqDept; private String viewOptions; private String sessionId; private String unitName; private String userid; private String userName; private String errorCd; private String profiles; private String view; private Integer unitId; class ReqDept { private String STORE_API; private String STORE_BF; private String STORE_BAKERY; private String STORE_CLINIC; private String STORE_DAIRY; private String STORE_DELI; private String STORE_DISTRIBUTI; private String STORE_FM; private String STORE_FROZEN; private String STORE_GE; private String STORE_HR; private String STORE_INSTOCKS; private String STORE_MEAT; private String STORE_OPTICAL; private String STORE_POG; private String STORE_PHARM; private String STORE_PL; private String STORE_PS; private String STORE_PRESENTATI; private String STORE_PA; private String STORE_PROD; private String STORE_REMODEL; private String STORE_RL; private String STORE_AA; private String STORE_GROC; private String STORE_SFH; private String STORE_HB; private String STORE_HOME; private String STORE_SIGNFIX; private String STORE_STARBUCKS; private String STORE; private String STORE_TC; } </code></pre> <p>You also need to generate getters and setters for both the fields in <code>MyClass</code> and fields inside the inner <code>ReqDept</code> class. The <code>ReqDept</code> class is required because the information you are getting inside that JSON field is another JSON object.</p> <p>Also, be careful with the <em>"Y"</em> values, because they will not be automatically casted to <code>boolean</code> (that's why I marked them as Strings).</p> <p>Hope this helps</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload