pivot-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Duto <olivier.dutri...@pasteur.fr>
Subject Re: json and array
Date Mon, 18 Apr 2011 18:30:59 GMT
I am trying but same error : 

public class Test {
    private List<String> listString = new ArrayList<String>();

    public Test() {
        listString.add(0, "row1");
        listString.add(1, "row2");
        listString.add(2, "row3");
    }

    public List<String> getListString() {
        return listString;
    }

    public void setListString(List<String> listString) {
        this.listString = listString;
    }

    public static void main(String[] args) {
        System.out.println(JSON.containsKey(new BeanAdapter(new Test()),
"listString[0]"));
    }
}

--
View this message in context: http://apache-pivot-users.399431.n3.nabble.com/json-and-array-tp2835305p2835512.html
Sent from the Apache Pivot - Users mailing list archive at Nabble.com.

Mime
View raw message