示例#1
0
    public static GeonameAttributeWithArgumentsJSON from_json(JSONBase json_value, bool ignore_extras, bool allow_incomplete, bool allow_unpolished)
    {
        GeonameAttributeWithArgumentsJSON result;

        {
            HoldingGenerator generator = new HoldingGenerator("Type GeonameAttributeWithArguments", ignore_extras);
            generator.set_allow_incomplete(allow_incomplete);
            generator.set_allow_unpolished(allow_unpolished);
            if (allow_incomplete || allow_unpolished)
            {
                json_value.write_partial_as_json(generator);
            }
            else
            {
                json_value.write_as_json(generator);
            }
            Debug.Assert(generator.have_value);
            result = generator.value;
        };
        return(result);
    }
示例#2
0
    public static new SportsGameSchedulesScoresInformationNuggetJSON from_json(JSONBase json_value, bool ignore_extras, bool allow_incomplete, bool allow_unpolished)
    {
        SportsGameSchedulesScoresInformationNuggetJSON result;

        {
            HoldingGenerator generator = new HoldingGenerator("Type SportsGameSchedulesScoresInformationNugget", ignore_extras);
            generator.set_allow_incomplete(allow_incomplete);
            generator.set_allow_unpolished(allow_unpolished);
            if (allow_incomplete || allow_unpolished)
            {
                json_value.write_partial_as_json(generator);
            }
            else
            {
                json_value.write_as_json(generator);
            }
            Debug.Assert(generator.have_value);
            result = generator.value;
        };
        return(result);
    }
示例#3
0
    public static new TimerCommandJSON from_json(JSONBase json_value, bool ignore_extras, bool allow_incomplete, bool allow_unpolished)
    {
        TimerCommandJSON result;

        {
            HoldingGenerator generator = new HoldingGenerator("Type TimerCommand", ignore_extras);
            generator.set_allow_incomplete(allow_incomplete);
            generator.set_allow_unpolished(allow_unpolished);
            if (allow_incomplete || allow_unpolished)
            {
                json_value.write_partial_as_json(generator);
            }
            else
            {
                json_value.write_as_json(generator);
            }
            Debug.Assert(generator.have_value);
            result = generator.value;
        };
        return(result);
    }
    public static new MapDisplayOneLocationSpecificationJSON from_json(JSONValue json_value, bool ignore_extras, bool allow_incomplete, bool allow_unpolished)
    {
        MapDisplayOneLocationSpecificationJSON result;

        {
            HoldingGenerator generator = new HoldingGenerator("Type MapDisplayOneLocationSpecification", ignore_extras);
            generator.set_allow_incomplete(allow_incomplete);
            generator.set_allow_unpolished(allow_unpolished);
            if (allow_incomplete || allow_unpolished)
            {
                json_value.write(generator);
            }
            else
            {
                json_value.write(generator);
            }
            Debug.Assert(generator.have_value);
            result = generator.value;
        };
        return(result);
    }
    public static FlightFareBreakdownForPassengerTypeJSON from_json(JSONBase json_value, bool ignore_extras, bool allow_incomplete, bool allow_unpolished)
    {
        FlightFareBreakdownForPassengerTypeJSON result;

        {
            HoldingGenerator generator = new HoldingGenerator("Type FlightFareBreakdownForPassengerType", ignore_extras);
            generator.set_allow_incomplete(allow_incomplete);
            generator.set_allow_unpolished(allow_unpolished);
            if (allow_incomplete || allow_unpolished)
            {
                json_value.write_partial_as_json(generator);
            }
            else
            {
                json_value.write_as_json(generator);
            }
            Debug.Assert(generator.have_value);
            result = generator.value;
        };
        return(result);
    }
示例#6
0
    public static UploadedCodeFunctionLanguageJSON from_json(JSONBase json_value, bool ignore_extras, bool allow_incomplete, bool allow_unpolished)
    {
        UploadedCodeFunctionLanguageJSON result;

        {
            HoldingGenerator generator = new HoldingGenerator("Type UploadedCodeFunctionLanguage", ignore_extras);
            generator.set_allow_incomplete(allow_incomplete);
            generator.set_allow_unpolished(allow_unpolished);
            if (allow_incomplete || allow_unpolished)
            {
                json_value.write_partial_as_json(generator);
            }
            else
            {
                json_value.write_as_json(generator);
            }
            Debug.Assert(generator.have_value);
            result = generator.value;
        };
        return(result);
    }
示例#7
0
    public static new SportsOlympicsEventSchedulesAndResultsArgumentYearJSON from_json(JSONValue json_value, bool ignore_extras, bool allow_incomplete, bool allow_unpolished)
    {
        SportsOlympicsEventSchedulesAndResultsArgumentYearJSON result;

        {
            HoldingGenerator generator = new HoldingGenerator("Type SportsOlympicsEventSchedulesAndResultsArgumentYear", ignore_extras);
            generator.set_allow_incomplete(allow_incomplete);
            generator.set_allow_unpolished(allow_unpolished);
            if (allow_incomplete || allow_unpolished)
            {
                json_value.write(generator);
            }
            else
            {
                json_value.write(generator);
            }
            Debug.Assert(generator.have_value);
            result = generator.value;
        };
        return(result);
    }
示例#8
0
    public static new RobotTakeVideoCommandIntentJSON from_json(JSONValue json_value, bool ignore_extras, bool allow_incomplete, bool allow_unpolished)
    {
        RobotTakeVideoCommandIntentJSON result;

        {
            HoldingGenerator generator = new HoldingGenerator("Type RobotTakeVideoCommandIntent", ignore_extras);
            generator.set_allow_incomplete(allow_incomplete);
            generator.set_allow_unpolished(allow_unpolished);
            if (allow_incomplete || allow_unpolished)
            {
                json_value.write(generator);
            }
            else
            {
                json_value.write(generator);
            }
            Debug.Assert(generator.have_value);
            result = generator.value;
        };
        return(result);
    }
示例#9
0
    public static new MortgageCalculatorInputVariablePaymentFrequencyJSON from_json(JSONValue json_value, bool ignore_extras, bool allow_incomplete, bool allow_unpolished)
    {
        MortgageCalculatorInputVariablePaymentFrequencyJSON result;

        {
            HoldingGenerator generator = new HoldingGenerator("Type MortgageCalculatorInputVariablePaymentFrequency", ignore_extras);
            generator.set_allow_incomplete(allow_incomplete);
            generator.set_allow_unpolished(allow_unpolished);
            if (allow_incomplete || allow_unpolished)
            {
                json_value.write(generator);
            }
            else
            {
                json_value.write(generator);
            }
            Debug.Assert(generator.have_value);
            result = generator.value;
        };
        return(result);
    }
示例#10
0
    public static new DisambiguationChoiceNotUnderstoodCommandJSON from_json(JSONValue json_value, bool ignore_extras, bool allow_incomplete, bool allow_unpolished)
    {
        DisambiguationChoiceNotUnderstoodCommandJSON result;

        {
            HoldingGenerator generator = new HoldingGenerator("Type DisambiguationChoiceNotUnderstoodCommand", ignore_extras);
            generator.set_allow_incomplete(allow_incomplete);
            generator.set_allow_unpolished(allow_unpolished);
            if (allow_incomplete || allow_unpolished)
            {
                json_value.write(generator);
            }
            else
            {
                json_value.write(generator);
            }
            Debug.Assert(generator.have_value);
            result = generator.value;
        };
        return(result);
    }
示例#11
0
    public static UnitsValue_PlannerPrecipitationJSON from_json(JSONValue json_value, bool ignore_extras, bool allow_incomplete, bool allow_unpolished)
    {
        UnitsValue_PlannerPrecipitationJSON result;

        {
            HoldingGenerator generator = new HoldingGenerator("Type UnitsValue_PlannerPrecipitation", ignore_extras);
            generator.set_allow_incomplete(allow_incomplete);
            generator.set_allow_unpolished(allow_unpolished);
            if (allow_incomplete || allow_unpolished)
            {
                json_value.write(generator);
            }
            else
            {
                json_value.write(generator);
            }
            Debug.Assert(generator.have_value);
            result = generator.value;
        };
        return(result);
    }
示例#12
0
    public static SportsPlayoffSpecialGameContainerJSON from_json(JSONValue json_value, bool ignore_extras, bool allow_incomplete, bool allow_unpolished)
    {
        SportsPlayoffSpecialGameContainerJSON result;

        {
            HoldingGenerator generator = new HoldingGenerator("Type SportsPlayoffSpecialGameContainer", ignore_extras);
            generator.set_allow_incomplete(allow_incomplete);
            generator.set_allow_unpolished(allow_unpolished);
            if (allow_incomplete || allow_unpolished)
            {
                json_value.write(generator);
            }
            else
            {
                json_value.write(generator);
            }
            Debug.Assert(generator.have_value);
            result = generator.value;
        };
        return(result);
    }
示例#13
0
    public static new BasicBinaryOperationQuantityJSON from_json(JSONValue json_value, bool ignore_extras, bool allow_incomplete, bool allow_unpolished)
    {
        BasicBinaryOperationQuantityJSON result;

        {
            HoldingGenerator generator = new HoldingGenerator("Type BasicBinaryOperationQuantity", ignore_extras);
            generator.set_allow_incomplete(allow_incomplete);
            generator.set_allow_unpolished(allow_unpolished);
            if (allow_incomplete || allow_unpolished)
            {
                json_value.write(generator);
            }
            else
            {
                json_value.write(generator);
            }
            Debug.Assert(generator.have_value);
            result = generator.value;
        };
        return(result);
    }
    public static new HomeAutomationSetBrightnessDeltaCommandJSON from_json(JSONValue json_value, bool ignore_extras, bool allow_incomplete, bool allow_unpolished)
    {
        HomeAutomationSetBrightnessDeltaCommandJSON result;

        {
            HoldingGenerator generator = new HoldingGenerator("Type HomeAutomationSetBrightnessDeltaCommand", ignore_extras);
            generator.set_allow_incomplete(allow_incomplete);
            generator.set_allow_unpolished(allow_unpolished);
            if (allow_incomplete || allow_unpolished)
            {
                json_value.write(generator);
            }
            else
            {
                json_value.write(generator);
            }
            Debug.Assert(generator.have_value);
            result = generator.value;
        };
        return(result);
    }
示例#15
0
    public static new RandomNumberGeneratorDiceRollRequestResultJSON from_json(JSONBase json_value, bool ignore_extras, bool allow_incomplete, bool allow_unpolished)
    {
        RandomNumberGeneratorDiceRollRequestResultJSON result;

        {
            HoldingGenerator generator = new HoldingGenerator("Type RandomNumberGeneratorDiceRollRequestResult", ignore_extras);
            generator.set_allow_incomplete(allow_incomplete);
            generator.set_allow_unpolished(allow_unpolished);
            if (allow_incomplete || allow_unpolished)
            {
                json_value.write_partial_as_json(generator);
            }
            else
            {
                json_value.write_as_json(generator);
            }
            Debug.Assert(generator.have_value);
            result = generator.value;
        };
        return(result);
    }
    public static new ChineseZodiacYearOfSignInfoNuggetJSON from_json(JSONBase json_value, bool ignore_extras, bool allow_incomplete, bool allow_unpolished)
    {
        ChineseZodiacYearOfSignInfoNuggetJSON result;

        {
            HoldingGenerator generator = new HoldingGenerator("Type ChineseZodiacYearOfSignInfoNugget", ignore_extras);
            generator.set_allow_incomplete(allow_incomplete);
            generator.set_allow_unpolished(allow_unpolished);
            if (allow_incomplete || allow_unpolished)
            {
                json_value.write_partial_as_json(generator);
            }
            else
            {
                json_value.write_as_json(generator);
            }
            Debug.Assert(generator.have_value);
            result = generator.value;
        };
        return(result);
    }
示例#17
0
    public static SportsStandingsArgumentWildCardJSON from_json(JSONValue json_value, bool ignore_extras, bool allow_incomplete, bool allow_unpolished)
    {
        SportsStandingsArgumentWildCardJSON result;

        {
            HoldingGenerator generator = new HoldingGenerator("Type SportsStandingsArgumentWildCard", ignore_extras);
            generator.set_allow_incomplete(allow_incomplete);
            generator.set_allow_unpolished(allow_unpolished);
            if (allow_incomplete || allow_unpolished)
            {
                json_value.write(generator);
            }
            else
            {
                json_value.write(generator);
            }
            Debug.Assert(generator.have_value);
            result = generator.value;
        };
        return(result);
    }
    public static new FiniteIntegerPlusFractionBuildingNumberJSON from_json(JSONBase json_value, bool ignore_extras, bool allow_incomplete, bool allow_unpolished)
    {
        FiniteIntegerPlusFractionBuildingNumberJSON result;

        {
            HoldingGenerator generator = new HoldingGenerator("Type FiniteIntegerPlusFractionBuildingNumber", ignore_extras);
            generator.set_allow_incomplete(allow_incomplete);
            generator.set_allow_unpolished(allow_unpolished);
            if (allow_incomplete || allow_unpolished)
            {
                json_value.write_partial_as_json(generator);
            }
            else
            {
                json_value.write_as_json(generator);
            }
            Debug.Assert(generator.have_value);
            result = generator.value;
        };
        return(result);
    }
    public static new BlackjackQuitGameInformationNuggetJSON from_json(JSONValue json_value, bool ignore_extras, bool allow_incomplete, bool allow_unpolished)
    {
        BlackjackQuitGameInformationNuggetJSON result;

        {
            HoldingGenerator generator = new HoldingGenerator("Type BlackjackQuitGameInformationNugget", ignore_extras);
            generator.set_allow_incomplete(allow_incomplete);
            generator.set_allow_unpolished(allow_unpolished);
            if (allow_incomplete || allow_unpolished)
            {
                json_value.write(generator);
            }
            else
            {
                json_value.write(generator);
            }
            Debug.Assert(generator.have_value);
            result = generator.value;
        };
        return(result);
    }
示例#20
0
    public static new SportsOlympicsBasicAttributeArgumentSeasonJSON from_json(JSONBase json_value, bool ignore_extras, bool allow_incomplete, bool allow_unpolished)
    {
        SportsOlympicsBasicAttributeArgumentSeasonJSON result;

        {
            HoldingGenerator generator = new HoldingGenerator("Type SportsOlympicsBasicAttributeArgumentSeason", ignore_extras);
            generator.set_allow_incomplete(allow_incomplete);
            generator.set_allow_unpolished(allow_unpolished);
            if (allow_incomplete || allow_unpolished)
            {
                json_value.write_partial_as_json(generator);
            }
            else
            {
                json_value.write_as_json(generator);
            }
            Debug.Assert(generator.have_value);
            result = generator.value;
        };
        return(result);
    }
    public static new MortgageCalculatorInputVariableAmortizationPeriodJSON from_json(JSONBase json_value, bool ignore_extras, bool allow_incomplete, bool allow_unpolished)
    {
        MortgageCalculatorInputVariableAmortizationPeriodJSON result;

        {
            HoldingGenerator generator = new HoldingGenerator("Type MortgageCalculatorInputVariableAmortizationPeriod", ignore_extras);
            generator.set_allow_incomplete(allow_incomplete);
            generator.set_allow_unpolished(allow_unpolished);
            if (allow_incomplete || allow_unpolished)
            {
                json_value.write_partial_as_json(generator);
            }
            else
            {
                json_value.write_as_json(generator);
            }
            Debug.Assert(generator.have_value);
            result = generator.value;
        };
        return(result);
    }
示例#22
0
    public static SportsPlayoffSpecialTypesResponseStateJSON from_json(JSONBase json_value, bool ignore_extras, bool allow_incomplete, bool allow_unpolished)
    {
        SportsPlayoffSpecialTypesResponseStateJSON result;

        {
            HoldingGenerator generator = new HoldingGenerator("Type SportsPlayoffSpecialTypesResponseState", ignore_extras);
            generator.set_allow_incomplete(allow_incomplete);
            generator.set_allow_unpolished(allow_unpolished);
            if (allow_incomplete || allow_unpolished)
            {
                json_value.write_partial_as_json(generator);
            }
            else
            {
                json_value.write_as_json(generator);
            }
            Debug.Assert(generator.have_value);
            result = generator.value;
        };
        return(result);
    }
示例#23
0
    public static SportsOlympicsEventSchedulesAndResultsQueryComponentJSON from_json(JSONBase json_value, bool ignore_extras, bool allow_incomplete, bool allow_unpolished)
    {
        SportsOlympicsEventSchedulesAndResultsQueryComponentJSON result;

        {
            HoldingGenerator generator = new HoldingGenerator("Type SportsOlympicsEventSchedulesAndResultsQueryComponent", ignore_extras);
            generator.set_allow_incomplete(allow_incomplete);
            generator.set_allow_unpolished(allow_unpolished);
            if (allow_incomplete || allow_unpolished)
            {
                json_value.write_partial_as_json(generator);
            }
            else
            {
                json_value.write_as_json(generator);
            }
            Debug.Assert(generator.have_value);
            result = generator.value;
        };
        return(result);
    }
    public static new HomeAutomationDisambiguateSpecifierDataJSON from_json(JSONValue json_value, bool ignore_extras, bool allow_incomplete, bool allow_unpolished)
    {
        HomeAutomationDisambiguateSpecifierDataJSON result;

        {
            HoldingGenerator generator = new HoldingGenerator("Type HomeAutomationDisambiguateSpecifierData", ignore_extras);
            generator.set_allow_incomplete(allow_incomplete);
            generator.set_allow_unpolished(allow_unpolished);
            if (allow_incomplete || allow_unpolished)
            {
                json_value.write(generator);
            }
            else
            {
                json_value.write(generator);
            }
            Debug.Assert(generator.have_value);
            result = generator.value;
        };
        return(result);
    }
示例#25
0
    public static new CarControlScreenCommandJSON from_json(JSONValue json_value, bool ignore_extras, bool allow_incomplete, bool allow_unpolished)
    {
        CarControlScreenCommandJSON result;

        {
            HoldingGenerator generator = new HoldingGenerator("Type CarControlScreenCommand", ignore_extras);
            generator.set_allow_incomplete(allow_incomplete);
            generator.set_allow_unpolished(allow_unpolished);
            if (allow_incomplete || allow_unpolished)
            {
                json_value.write(generator);
            }
            else
            {
                json_value.write(generator);
            }
            Debug.Assert(generator.have_value);
            result = generator.value;
        };
        return(result);
    }
示例#26
0
    public static StoredPageMatchPageListDataJSON from_json(JSONValue json_value, bool ignore_extras, bool allow_incomplete, bool allow_unpolished)
    {
        StoredPageMatchPageListDataJSON result;

        {
            HoldingGenerator generator = new HoldingGenerator("Type StoredPageMatchPageListData", ignore_extras);
            generator.set_allow_incomplete(allow_incomplete);
            generator.set_allow_unpolished(allow_unpolished);
            if (allow_incomplete || allow_unpolished)
            {
                json_value.write(generator);
            }
            else
            {
                json_value.write(generator);
            }
            Debug.Assert(generator.have_value);
            result = generator.value;
        };
        return(result);
    }
示例#27
0
    public static new UserContactsFindRequestJSON from_json(JSONValue json_value, bool ignore_extras, bool allow_incomplete, bool allow_unpolished)
    {
        UserContactsFindRequestJSON result;

        {
            HoldingGenerator generator = new HoldingGenerator("Type UserContactsFindRequest", ignore_extras);
            generator.set_allow_incomplete(allow_incomplete);
            generator.set_allow_unpolished(allow_unpolished);
            if (allow_incomplete || allow_unpolished)
            {
                json_value.write(generator);
            }
            else
            {
                json_value.write(generator);
            }
            Debug.Assert(generator.have_value);
            result = generator.value;
        };
        return(result);
    }
    public static HomeAutomationDeviceSpecifierJSON from_json(JSONBase json_value, bool ignore_extras, bool allow_incomplete, bool allow_unpolished)
    {
        HomeAutomationDeviceSpecifierJSON result;

        {
            HoldingGenerator generator = new HoldingGenerator("Type HomeAutomationDeviceSpecifier", ignore_extras);
            generator.set_allow_incomplete(allow_incomplete);
            generator.set_allow_unpolished(allow_unpolished);
            if (allow_incomplete || allow_unpolished)
            {
                json_value.write_partial_as_json(generator);
            }
            else
            {
                json_value.write_as_json(generator);
            }
            Debug.Assert(generator.have_value);
            result = generator.value;
        };
        return(result);
    }
    public static AlarmQueryStateJSON from_json(JSONValue json_value, bool ignore_extras, bool allow_incomplete, bool allow_unpolished)
    {
        AlarmQueryStateJSON result;

        {
            HoldingGenerator generator = new HoldingGenerator("Type AlarmQueryState", ignore_extras);
            generator.set_allow_incomplete(allow_incomplete);
            generator.set_allow_unpolished(allow_unpolished);
            if (allow_incomplete || allow_unpolished)
            {
                json_value.write(generator);
            }
            else
            {
                json_value.write(generator);
            }
            Debug.Assert(generator.have_value);
            result = generator.value;
        };
        return(result);
    }
示例#30
0
    public static new FailedCommandWhatInformationJSON from_json(JSONValue json_value, bool ignore_extras, bool allow_incomplete, bool allow_unpolished)
    {
        FailedCommandWhatInformationJSON result;

        {
            HoldingGenerator generator = new HoldingGenerator("Type FailedCommandWhatInformation", ignore_extras);
            generator.set_allow_incomplete(allow_incomplete);
            generator.set_allow_unpolished(allow_unpolished);
            if (allow_incomplete || allow_unpolished)
            {
                json_value.write(generator);
            }
            else
            {
                json_value.write(generator);
            }
            Debug.Assert(generator.have_value);
            result = generator.value;
        };
        return(result);
    }