Skip to content

Exception Loading Root with JSON Descriptor containing Enums  #964

@dharmusharma1981

Description

@dharmusharma1981

protobuf.js version: <6.8.3>

Exception ExceptionsManager.js:65 (intermediate value)(intermediate value)(intermediate value) is not a function ``` Im trying to load json file which contains enums ` "PlatformType": { "values": { "UNKNOWN": 0, "RAY_DESKTOP": 1, "RAY_MOBILE": 2 } },

after drilling down the code

i find this Enum.fromJson is undefined in the libarary
![screen shot 2017-12-21 at 2 30 46 pm](https://user-images.githubusercontent.com/10889920/34277738-e9c17c52-e65b-11e7-927a-a5addfcca539.png

```

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions