Documentation of 'org.python.modules._json.Encoder' Java class
Encoder
org.python.modules._json

Class Encoder

    • Constructor Detail

      • Encoder

        public Encoder(PyObject[] args,
                       java.lang.String[] kwds)
      • Encoder

        public Encoder(PyType subtype,
                       PyObject[] args,
                       java.lang.String[] kwds)
    • Method Detail

      • __call__

        public PyObject __call__(PyObject obj)
        Description copied from class: PyObject
        A variant of the __call__ method with one argument. The default behavior is to invoke __call__(args, keywords) with the appropriate arguments. The only reason to override this function would be for improved performance.
        Overrides:
        __call__ in class PyObject
        Parameters:
        obj - the single argument to the function.
      • __call__

        public PyObject __call__(PyObject obj,
                                 PyObject indent_level)
        Description copied from class: PyObject
        A variant of the __call__ method with two arguments. The default behavior is to invoke __call__(args, keywords) with the appropriate arguments. The only reason to override this function would be for improved performance.
        Overrides:
        __call__ in class PyObject
        Parameters:
        obj - the first argument to the function.
        indent_level - the second argument to the function.

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.