Exemplo n.º 1
0
    public static new SportsOlympicsMedalStandingsArgumentSortMethodJSON from_json(JSONBase json_value, bool ignore_extras, bool allow_incomplete, bool allow_unpolished)
    {
        SportsOlympicsMedalStandingsArgumentSortMethodJSON result;

        {
            HoldingGenerator generator = new HoldingGenerator("Type SportsOlympicsMedalStandingsArgumentSortMethod", 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);
    }
Exemplo n.º 2
0
    public static new UberEstimatesSpecJSON from_json(JSONValue json_value, bool ignore_extras, bool allow_incomplete, bool allow_unpolished)
    {
        UberEstimatesSpecJSON result;

        {
            HoldingGenerator generator = new HoldingGenerator("Type UberEstimatesSpec", 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);
    }
Exemplo n.º 3
0
    public static UberRequestEstimateTripJSON from_json(JSONBase json_value, bool ignore_extras, bool allow_incomplete, bool allow_unpolished)
    {
        UberRequestEstimateTripJSON result;

        {
            HoldingGenerator generator = new HoldingGenerator("Type UberRequestEstimateTrip", 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);
    }
Exemplo n.º 4
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);
    }
Exemplo n.º 5
0
    public static new ChineseZodiacSignOfYearInfoNuggetJSON from_json(JSONBase json_value, bool ignore_extras, bool allow_incomplete, bool allow_unpolished)
    {
        ChineseZodiacSignOfYearInfoNuggetJSON result;

        {
            HoldingGenerator generator = new HoldingGenerator("Type ChineseZodiacSignOfYearInfoNugget", 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);
    }
Exemplo n.º 6
0
    public static SportsOlympicsEventSchedulesAndResultsErrorJSON from_json(JSONBase json_value, bool ignore_extras, bool allow_incomplete, bool allow_unpolished)
    {
        SportsOlympicsEventSchedulesAndResultsErrorJSON result;

        {
            HoldingGenerator generator = new HoldingGenerator("Type SportsOlympicsEventSchedulesAndResultsError", 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);
    }
Exemplo n.º 7
0
    public static SportsSeasonsResponseStateJSON from_json(JSONValue json_value, bool ignore_extras, bool allow_incomplete, bool allow_unpolished)
    {
        SportsSeasonsResponseStateJSON result;

        {
            HoldingGenerator generator = new HoldingGenerator("Type SportsSeasonsResponseState", 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);
    }
Exemplo n.º 8
0
    public static new HomeAutomationTVChannelJSON from_json(JSONBase json_value, bool ignore_extras, bool allow_incomplete, bool allow_unpolished)
    {
        HomeAutomationTVChannelJSON result;

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

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

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