Exemple #1
0
    public static new SportsOlympicsEventSchedulesAndResultsArgumentSeasonJSON from_json(JSONBase json_value, bool ignore_extras, bool allow_incomplete, bool allow_unpolished)
    {
        SportsOlympicsEventSchedulesAndResultsArgumentSeasonJSON result;

        {
            HoldingGenerator generator = new HoldingGenerator("Type SportsOlympicsEventSchedulesAndResultsArgumentSeason", 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);
    }
Exemple #2
0
    public static new FiniteIntegerBuildingNumberJSON from_json(JSONValue json_value, bool ignore_extras, bool allow_incomplete, bool allow_unpolished)
    {
        FiniteIntegerBuildingNumberJSON result;

        {
            HoldingGenerator generator = new HoldingGenerator("Type FiniteIntegerBuildingNumber", 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);
    }
Exemple #3
0
    public static OneContactWithGroupingJSON from_json(JSONValue json_value, bool ignore_extras, bool allow_incomplete, bool allow_unpolished)
    {
        OneContactWithGroupingJSON result;

        {
            HoldingGenerator generator = new HoldingGenerator("Type OneContactWithGrouping", 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 LabeledEmailAddressJSON from_json(JSONValue json_value, bool ignore_extras, bool allow_incomplete, bool allow_unpolished)
    {
        LabeledEmailAddressJSON result;

        {
            HoldingGenerator generator = new HoldingGenerator("Type LabeledEmailAddress", 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);
    }
Exemple #5
0
    public static SportsTeamsResponseStateJSON from_json(JSONValue json_value, bool ignore_extras, bool allow_incomplete, bool allow_unpolished)
    {
        SportsTeamsResponseStateJSON result;

        {
            HoldingGenerator generator = new HoldingGenerator("Type SportsTeamsResponseState", 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);
    }
Exemple #6
0
    public static new MortgageCalculatorInputVariablePaymentFrequencyJSON from_json(JSONBase 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_partial_as_json(generator);
            }
            else
            {
                json_value.write_as_json(generator);
            }
            Debug.Assert(generator.have_value);
            result = generator.value;
        };
        return(result);
    }
Exemple #7
0
    public static GeonameAttributeWithArgumentsJSON from_json(JSONValue 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(generator);
            }
            else
            {
                json_value.write(generator);
            }
            Debug.Assert(generator.have_value);
            result = generator.value;
        };
        return(result);
    }
Exemple #8
0
    public static new HomeAutomationBasicControlCommandJSON from_json(JSONValue json_value, bool ignore_extras, bool allow_incomplete, bool allow_unpolished)
    {
        HomeAutomationBasicControlCommandJSON result;

        {
            HoldingGenerator generator = new HoldingGenerator("Type HomeAutomationBasicControlCommand", 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);
    }
Exemple #9
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);
    }
Exemple #10
0
    public static SportsOlympicsMedalStandingsQueryComponentJSON from_json(JSONBase json_value, bool ignore_extras, bool allow_incomplete, bool allow_unpolished)
    {
        SportsOlympicsMedalStandingsQueryComponentJSON result;

        {
            HoldingGenerator generator = new HoldingGenerator("Type SportsOlympicsMedalStandingsQueryComponent", 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 AgeCalculatorPerspectiveJSON from_json(JSONValue json_value, bool ignore_extras, bool allow_incomplete, bool allow_unpolished)
    {
        AgeCalculatorPerspectiveJSON result;

        {
            HoldingGenerator generator = new HoldingGenerator("Type AgeCalculatorPerspective", 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 EnableCallByNumberOrNameModeCommandJSON from_json(JSONValue json_value, bool ignore_extras, bool allow_incomplete, bool allow_unpolished)
    {
        EnableCallByNumberOrNameModeCommandJSON result;

        {
            HoldingGenerator generator = new HoldingGenerator("Type EnableCallByNumberOrNameModeCommand", 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);
    }
Exemple #13
0
    public static CurrencyConversionErrorJSON from_json(JSONValue json_value, bool ignore_extras, bool allow_incomplete, bool allow_unpolished)
    {
        CurrencyConversionErrorJSON result;

        {
            HoldingGenerator generator = new HoldingGenerator("Type CurrencyConversionError", 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);
    }
Exemple #14
0
    public static new AmountPropertyInformationNuggetJSON from_json(JSONValue json_value, bool ignore_extras, bool allow_incomplete, bool allow_unpolished)
    {
        AmountPropertyInformationNuggetJSON result;

        {
            HoldingGenerator generator = new HoldingGenerator("Type AmountPropertyInformationNugget", 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);
    }
Exemple #15
0
    public static new UberApiErrorNoCurrentRequestJSON from_json(JSONValue json_value, bool ignore_extras, bool allow_incomplete, bool allow_unpolished)
    {
        UberApiErrorNoCurrentRequestJSON result;

        {
            HoldingGenerator generator = new HoldingGenerator("Type UberApiErrorNoCurrentRequest", 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);
    }
Exemple #16
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);
    }
    public static new CarControlClimateModeNotUnderstoodJSON from_json(JSONValue json_value, bool ignore_extras, bool allow_incomplete, bool allow_unpolished)
    {
        CarControlClimateModeNotUnderstoodJSON result;

        {
            HoldingGenerator generator = new HoldingGenerator("Type CarControlClimateModeNotUnderstood", 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);
    }
Exemple #18
0
    public static new UserFeedbackFreeformTextJSON from_json(JSONValue json_value, bool ignore_extras, bool allow_incomplete, bool allow_unpolished)
    {
        UserFeedbackFreeformTextJSON result;

        {
            HoldingGenerator generator = new HoldingGenerator("Type UserFeedbackFreeformText", 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 DialOneContactNumberAmbiguousCommandJSON from_json(JSONValue json_value, bool ignore_extras, bool allow_incomplete, bool allow_unpolished)
    {
        DialOneContactNumberAmbiguousCommandJSON result;

        {
            HoldingGenerator generator = new HoldingGenerator("Type DialOneContactNumberAmbiguousCommand", 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);
    }
Exemple #20
0
    public static new SportsOlympicsMedalStandingsArgumentMedalTypeJSON from_json(JSONValue json_value, bool ignore_extras, bool allow_incomplete, bool allow_unpolished)
    {
        SportsOlympicsMedalStandingsArgumentMedalTypeJSON result;

        {
            HoldingGenerator generator = new HoldingGenerator("Type SportsOlympicsMedalStandingsArgumentMedalType", 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);
    }
Exemple #21
0
    public static StoredAlwaysMatchReadDataJSON from_json(JSONValue json_value, bool ignore_extras, bool allow_incomplete, bool allow_unpolished)
    {
        StoredAlwaysMatchReadDataJSON result;

        {
            HoldingGenerator generator = new HoldingGenerator("Type StoredAlwaysMatchReadData", 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);
    }
Exemple #22
0
    public static new ApproximateQuantityJSON from_json(JSONValue json_value, bool ignore_extras, bool allow_incomplete, bool allow_unpolished)
    {
        ApproximateQuantityJSON result;

        {
            HoldingGenerator generator = new HoldingGenerator("Type ApproximateQuantity", 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);
    }
Exemple #23
0
    public static DateAndTimeLookupConversationStateJSON from_json(JSONValue json_value, bool ignore_extras, bool allow_incomplete, bool allow_unpolished)
    {
        DateAndTimeLookupConversationStateJSON result;

        {
            HoldingGenerator generator = new HoldingGenerator("Type DateAndTimeLookupConversationState", 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);
    }
Exemple #24
0
    public static FlightStatsAirportResourcesJSON from_json(JSONValue json_value, bool ignore_extras, bool allow_incomplete, bool allow_unpolished)
    {
        FlightStatsAirportResourcesJSON result;

        {
            HoldingGenerator generator = new HoldingGenerator("Type FlightStatsAirportResources", 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);
    }
Exemple #25
0
    public static new DisambiguationChoiceNotUnderstoodCommandJSON from_json(JSONBase 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_partial_as_json(generator);
            }
            else
            {
                json_value.write_as_json(generator);
            }
            Debug.Assert(generator.have_value);
            result = generator.value;
        };
        return(result);
    }
Exemple #26
0
    public static IconJSON from_json(JSONBase json_value, bool ignore_extras, bool allow_incomplete, bool allow_unpolished)
    {
        IconJSON result;

        {
            HoldingGenerator generator = new HoldingGenerator("Type Icon", 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);
    }
Exemple #27
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);
    }
    public static new ChineseZodiacYearOfSignInfoNuggetJSON from_json(JSONValue 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(generator);
            }
            else
            {
                json_value.write(generator);
            }
            Debug.Assert(generator.have_value);
            result = generator.value;
        };
        return(result);
    }
Exemple #29
0
    public static new MusicPlayerCommandConversationStateElementJSON from_json(JSONBase json_value, bool ignore_extras, bool allow_incomplete, bool allow_unpolished)
    {
        MusicPlayerCommandConversationStateElementJSON result;

        {
            HoldingGenerator generator = new HoldingGenerator("Type MusicPlayerCommandConversationStateElement", 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);
    }