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6
2.2.5
2.2.4
2.2.3
2.2.2
2.2.1
2.2.0
2.1.1
2.1.0
2.0.3
2.0.2
2.0.1
2.0.0
1.21.0
1.20.0
1.19.4
1.19.3
1.19.2
1.19.1
1.19.0
1.18.7
1.18.6
1.18.5
1.18.4
1.18.3
1.18.2
1.18.1
1.18.0
1.17.1
1.17.0
1.16.2
1.16.1
1.16.0
1.15.4
1.15.3
1.15.2
1.15.1
1.15.0
1.14.1
1.14.0
1.13.0
1.12.3
1.12.2
1.12.1
1.12.0
1.11.0
1.10.2
1.10.1
1.10.0
1.9.1
1.9.0
1.8.0
1.7.1
1.7.0
1.6.0
1.5.0
1.4.0
1.3.14
1.3.13
1.3.12
1.3.11
1.3.10
1.3.9
1.3.8
1.3.7
1.3.6
1.3.5
1.3.4
1.3.3
1.3.2
1.3.1
1.3.0
1.2.2
1.2.1
1.2.0
1.1.2
1.1.1
1.1.0
1.0.6
1.0.5
1.0.4
1.0.3
1.0.2
JavaScript adapter for SAS
adapter.sasjs.io
sasjs/adapter
@sasjs/adapter
/
utils
/
getValidJson.d.ts
6 lines
(5 loc)
•
238 B
TypeScript
View Raw
1
2
3
4
5
6
/** * if string passed then parse the string to json else if throw error for all other types unless it is not a valid json object. *
@param
str
- string to check. */
export
declare
const
getValidJson
:
(
str
:
string
|
object
) =>
object
;