Skip to content

Remove unused methods and exceptions from JsonObject #14893

@asraa

Description

@asraa
  1. Remove instance of loadFromString in header formatter and replace with protobuf .

    Json::ObjectSharedPtr parsed_params = Json::Factory::loadFromString(std::string(json));

  2. Remove unused methods and the unsafe code that can throw exceptions such as the get[Type] methods that don't have defaults.

    virtual std::string getString(const std::string& name) const PURE;

Follow-up to #14467

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions