Exemplo n.º 1
0
        public void add(bool b)
        {
            JsonBool number = new JsonBool("ArrayItem");

            number.setValue(b);
            this.items.Add(number);
            this.dirty = true;
        }
Exemplo n.º 2
0
        public void set(string name, bool b)
        {
            JsonBool var = new JsonBool(name);

            var.setValue(b);
            this.children[name] = var;
            this.dirty          = true;
        }