Example #1
0
    public static StockGlobalIndicesHistoricalJSON from_json(JSONBase json_value, bool ignore_extras, bool allow_incomplete, bool allow_unpolished)
    {
        StockGlobalIndicesHistoricalJSON result;

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

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

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

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

        {
            HoldingGenerator generator = new HoldingGenerator("Type CallNumberCommand", 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);
    }
Example #6
0
    public static UberPriceEstimatesResponseJSON from_json(JSONBase json_value, bool ignore_extras, bool allow_incomplete, bool allow_unpolished)
    {
        UberPriceEstimatesResponseJSON result;

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

        {
            HoldingGenerator generator = new HoldingGenerator("Type SMSEditRecipientsContextFields", 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);
    }
Example #8
0
    public static SunriseSunsetTimeConversationStateJSON from_json(JSONBase json_value, bool ignore_extras, bool allow_incomplete, bool allow_unpolished)
    {
        SunriseSunsetTimeConversationStateJSON result;

        {
            HoldingGenerator generator = new HoldingGenerator("Type SunriseSunsetTimeConversationState", 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);
    }
Example #9
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);
    }
Example #10
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 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 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);
    }
Example #13
0
    public static UnitsValue_PlannerPrecipitationJSON from_json(JSONBase 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_partial_as_json(generator);
            }
            else
            {
                json_value.write_as_json(generator);
            }
            Debug.Assert(generator.have_value);
            result = generator.value;
        };
        return(result);
    }
Example #14
0
    public static new UberApiErrorSamePickupDropoffJSON from_json(JSONBase json_value, bool ignore_extras, bool allow_incomplete, bool allow_unpolished)
    {
        UberApiErrorSamePickupDropoffJSON result;

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

        {
            HoldingGenerator generator = new HoldingGenerator("Type WhatDrinkCanMakeInterQueryState", 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);
    }
Example #16
0
    public static new SportsOlympicsMedalStandingsArgumentQueryTypeJSON from_json(JSONBase json_value, bool ignore_extras, bool allow_incomplete, bool allow_unpolished)
    {
        SportsOlympicsMedalStandingsArgumentQueryTypeJSON result;

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

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

        {
            HoldingGenerator generator = new HoldingGenerator("Type MortgageCalculatorInputVariableHomeValue", 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);
    }
Example #19
0
    public static SportsPlayoffTriviaRanksJSON from_json(JSONBase json_value, bool ignore_extras, bool allow_incomplete, bool allow_unpolished)
    {
        SportsPlayoffTriviaRanksJSON result;

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

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