@brief applies a JSON patch to a copy of the current object @sa https://json.nlohmann.me/api/basic_json/patch/
| 24318 | /// @brief applies a JSON patch to a copy of the current object |
| 24319 | /// @sa https://json.nlohmann.me/api/basic_json/patch/ |
| 24320 | basic_json patch(const basic_json& json_patch) const |
| 24321 | { |
| 24322 | basic_json result = *this; |
| 24323 | result.patch_inplace(json_patch); |
| 24324 | return result; |
| 24325 | } |
| 24326 | |
| 24327 | /// @brief creates a diff as a JSON patch |
| 24328 | /// @sa https://json.nlohmann.me/api/basic_json/diff/ |
nothing calls this directly
no outgoing calls
no test coverage detected