Class JsonExtractor
- Namespace
- Utilty
- Assembly
- DougWare.OobaboogaAPIHelper.dll
- Inheritance
-
Json
Extractor
- Inherited Members
Methods
ExtractJsonFromString(string)
Looks for JSON objects or arrays within a string and returns the first one found. Handy for dealing with API responses that contain extra text.
Parameters
input
stringThe text to search
Returns
- string
JSON if found
Exceptions
- Argument
Exception An error if not found