/// <summary> /// Processes the "wrap" Json protocol such as: '{OK: true, . . . }' /// Throws averment exceptions if OK!=true or data is null. Passes-through the original caller /// </summary> public static JsonDataMap ExpectOK(this JsonDataMap data) { data.NonNull(nameof(data)); Aver.IsTrue(data["OK"].AsBool(), "OK != true"); return(data); }