Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.mortbay.util.ajax
Interface JSON.Convertor

All Known Implementing Classes:
  JSONDateConvertor, JSONEnumConvertor, JSONObjectConvertor

Enclosing class:
  JSON

    public static interface JSON.Convertor

Static JSON Convertor.

may be implemented to provide static convertors for objects that may be registered with JSON#registerConvertor(Class, org.mortbay.util.ajax.JSON.Convertor). These convertors are looked up by class, interface and super class by {@link JSON#getConvertor(Class)}. Convertors should be used when the classes to be converted cannot implement {@link Convertible} or {@link Generator}.

Method Summary
`Object` | `fromJSON(Map object)`
`void` | `toJSON(Object obj, JSON.Output out)`

Method Detail

### toJSON

    void toJSON(Object obj,
                JSON.Output out)

### fromJSON

    Object fromJSON(Map object)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 1995-2008 Mort Bay Consulting. All Rights Reserved.