@brief applies a JSON patch to a copy of the current object @sa https://json.nlohmann.me/api/basic_json/patch/
| 24115 | /// @brief applies a JSON patch to a copy of the current object |
| 24116 | /// @sa https://json.nlohmann.me/api/basic_json/patch/ |
| 24117 | basic_json patch(const basic_json& json_patch) const |
| 24118 | { |
| 24119 | basic_json result = *this; |
| 24120 | result.patch_inplace(json_patch); |
| 24121 | return result; |
| 24122 | } |
| 24123 | |
| 24124 | /// @brief creates a diff as a JSON patch |
| 24125 | /// @sa https://json.nlohmann.me/api/basic_json/diff/ |
nothing calls this directly
no outgoing calls
no test coverage detected