public void SerializeBoolean(string key, bool b) { if (!Manager.IsCurrentArray()) { Manager.SetToBoolean(key, b); } // TODO: Handle error. }