import { isJsonObject } from "https://deno.land/x/polkadot@0.2.19/util/mod.ts";
Examples
import { isJsonObject } from 'https://deno.land/x/polkadot@0.2.19/util/mod.ts';
isJsonObject({}); // => true
isJsonObject({
"Test": "1234",
"NestedTest": {
"Test": "5678"
}
}); // => true
isJsonObject(1234); // JSON parsable, but not an object => false
isJsonObject(null); // JSON parsable, but not an object => false
isJsonObject('not an object'); // => false