get_first_json_message: Returns a list containing two objects in the text of a...

View source: R/get_first_json_message.R

get_first_json_messageR Documentation

Returns a list containing two objects in the text of a character vector of length one: (1) object = the first json object found and (2) remainder = the remaining text.

Description

Properly formed messages are assumed. Error checking is non-existent.

Usage

get_first_json_message(json_txt)

Arguments

json_txt

character vector of length one having one or more JSON objects in character form.


rmsharp/rmsutilityr documentation built on Feb. 13, 2024, 6:01 p.m.