mirror of
https://github.com/Kingsrook/qqq.git
synced 2025-07-18 13:10:44 +00:00
Add dedicated method for api count in baseApiActionUtil; improve null handling in json to record
This commit is contained in:
@ -266,6 +266,12 @@ public class JsonUtils
|
||||
}
|
||||
}
|
||||
|
||||
if(jsonObjectToUse.isNull(backendName))
|
||||
{
|
||||
record.setValue(fieldName, null);
|
||||
continue;
|
||||
}
|
||||
|
||||
switch(metaData.getType())
|
||||
{
|
||||
case INTEGER -> record.setValue(fieldName, jsonObjectToUse.optInt(backendName));
|
||||
|
Reference in New Issue
Block a user