Skip to content

@RequestBody decorator is crashing on Json.Parse for null types - null types are from Google Firebase response stream. #32545

@smartbenapple

Description

@smartbenapple

The @RequestBody Json.Parse() routine, errors out when running into null types for a Json value.

Example:
{"username":"John","username":"Cindy","username":null,"username":""}

The Google Firebase response object can return objects that include 'null' for the value type side. The 'null' values are not wrapped in quotes. This causes a crash in the @RequestBody Json.Parse() iteration.

Metadata

Metadata

Assignees

No one assigned

    Labels

    for: stackoverflowA question that's better suited to stackoverflow.comstatus: invalidAn issue that we don't feel is valid

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions