From 2ef9d586358f8d42a23a6f87d6ceac6f57741e5a Mon Sep 17 00:00:00 2001 From: Owen Green Date: Wed, 20 May 2020 20:44:10 +0100 Subject: [PATCH] Add dump in the dataset help file, and I really am on leave, honest --- .../HelpSource/Classes/FluidDataSet.schelp | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/release-packaging/HelpSource/Classes/FluidDataSet.schelp b/release-packaging/HelpSource/Classes/FluidDataSet.schelp index 418158e..4a3733d 100644 --- a/release-packaging/HelpSource/Classes/FluidDataSet.schelp +++ b/release-packaging/HelpSource/Classes/FluidDataSet.schelp @@ -144,4 +144,16 @@ Routine{ } }.play ) + +//Inspect the dataset using print (abbreviated output) or dump (JSON output) + +~ds.print //to post window by default, but you can supply a custom action instead +~ds.dump //likewise +//for example +~ds.dump{|j| + ~dict = j.parseJSON +} +//Now we have a Dictionary of our data and IDs +~dict.postcs + ::