WTC/ Utilities

General Utility Functions

Contributed by: Bignya Pathi, Danny Finn

Installation Instructions

To install this paclet in your Wolfram Language environment, evaluate this code:
PacletInstall["WTC/Utilities"]


To load the code after installation, evaluate this code:
Needs["WTC`Utilities`"]

Examples

Basic Examples

In[1]:=
ToJSON[
 <|
  "number" -> 1, "string" -> "Vicky", "dateobject" -> Today,
  "assessment" -> AssessmentFunction[{2}],
  "assessmentObject" -> AssessmentFunction[{2}][2]
  |>
 ]
Out[1]=

Scope

In[2]:=
JSONInterpreter["[1, 2, 3]"]
Out[2]=
In[3]:=
ValidEntriesInJsonList[{2, 3}]["[1, 2, 3]"]
Out[3]=
In[4]:=
StyledGrid[Options[ApiSuccessCheck]]
Out[4]=
In[5]:=
res = ApiSuccessCheck[
  <|
   "number" -> 1, "string" -> "Vicky", "dateobject" -> Today,
   "assessment" -> AssessmentFunction[{2}],
   "assessmentObject" -> AssessmentFunction[{2}][2]
   |>
  ]
Out[5]=
In[6]:=
res["Body"]
Out[6]=

Publisher

WTC

Compatibility

Wolfram Language Version 13.0

Version History

  • 1.0.0 – 26 September 2024

License Information

MIT License

Paclet Source