Exemplo n.º 1
0
 private void  fromJSONNativeData(JSONValue json_value, bool ignore_extras)
 {
     Debug.Assert(json_value != null);
     if (json_value.object_value() == null)
     {
         throw new Exception("The value for field NativeData of TimerStartModeCommandJSON is not an object.");
     }
     setNativeData(json_value.object_value());
 }
Exemplo n.º 2
0
 private void  fromJSONNutrientNameToID(JSONValue json_value, bool ignore_extras)
 {
     Debug.Assert(json_value != null);
     if (json_value.object_value() == null)
     {
         throw new Exception("The value for field NutrientNameToID of FoodJSON is not an object.");
     }
     setNutrientNameToID(json_value.object_value());
 }
Exemplo n.º 3
0
 private void  fromJSONRealmData(JSONValue json_value, bool ignore_extras)
 {
     Debug.Assert(json_value != null);
     if (json_value.object_value() == null)
     {
         throw new Exception("The value for field RealmData of UserParsingDataJSON is not an object.");
     }
     setRealmData(json_value.object_value());
 }
Exemplo n.º 4
0
 private void  fromJSONNewFieldData(JSONValue json_value, bool ignore_extras)
 {
     Debug.Assert(json_value != null);
     if (json_value.object_value() == null)
     {
         throw new Exception("The value for field NewFieldData of UserContactsModifyRequestJSON is not an object.");
     }
     setNewFieldData(json_value.object_value());
 }