forked from apache/arrow
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
apacheGH-37567: [C++] Migrate JSON Integration code to Result<> (apac…
…he#37573) ### Rationale for this change The JSON Integration APIs still use the old-style of returning `Status` together with a `T*` out-parameter. While those are internal APIs, it would still improve ease of us to migrate them to the newer idiom of returning a `Result<T>`. ### What changes are included in this PR? Migrate the relevant APIs from `Status` to `Result`. Since the APIs are internal, no deprecation period is introduced. Also, some very minor style and testing cleanups here and there. ### Are these changes tested? By existing tests. ### Are there any user-facing changes? No. * Closes: apache#37567 Authored-by: Antoine Pitrou <[email protected]> Signed-off-by: Antoine Pitrou <[email protected]>
- Loading branch information
Showing
8 changed files
with
232 additions
and
323 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.