private void  fromJSONAmbiguities(JSONValue json_value, bool ignore_extras)
    {
        Debug.Assert(json_value != null);
        HomeAutomationAmbiguityListJSON convert_classy = HomeAutomationAmbiguityListJSON.from_json(json_value, ignore_extras, true);

        setAmbiguities(convert_classy);
    }
 public void setAmbiguities(HomeAutomationAmbiguityListJSON new_value)
 {
     if (flagHasAmbiguities)
     {
     }
     flagHasAmbiguities = true;
     storeAmbiguities   = new_value;
 }
        protected void finish()
        {
            Debug.Assert(have_value);
            HomeAutomationAmbiguityListJSON result = new HomeAutomationAmbiguityListJSON();

            result.initValue();
            int count = value.Count;

            for (int num = 0; num < count; ++num)
            {
                result.appendValue(value[num]);
            }
            handle_result(result);
        }
 protected override void handle_result(HomeAutomationAmbiguityListJSON result)
 {
     top.value.Add(result);
 }
        protected override void handle_result(HomeAutomationAmbiguityListJSON result)
        {
//@@@            Debug.Assert(!have_value);
            have_value = true;
            value      = result;
        }
 protected abstract void handle_result(HomeAutomationAmbiguityListJSON new_result);