C. H. C. Little

14 papers Journal 14
YearRankTypeTitle / Venue / Authors
2016 J jnl
Discret. Math.
Marcelo Henriques de Carvalho, C. H. C. Little
2010 J jnl
Electron. J. Comb.
C. H. C. Little, G. Sanjith
2009 J jnl
J. Graph Theory
Marcelo Henriques de Carvalho, C. H. C. Little
2008 J jnl
Electron. J. Comb.
Marcelo Henriques de Carvalho, C. H. C. Little
2008 J jnl
Electron. J. Comb.
Marcelo Henriques de Carvalho, C. H. C. Little
2001 J jnl
J. Graph Theory
Feng Ming Dong, Khee Meng Koh, Kee L. Teo, C. H. C. Little, Michael D. Hendy
2000 J jnl
Electron. J. Comb.
C. H. C. Little, A. E. Campbell
1999 J jnl
Australas. J Comb.
Michael A. Henning, C. H. C. Little
1998 J jnl
Ars Comb.
Dan Archdeacon, Nora Hartsfield, C. H. C. Little, Bojan Mohar
1997 J jnl
Discret. Math.
Yee-Hock Peng, C. H. C. Little, Kee L. Teo, Hong Wang
1996 J jnl
J. Comb. Theory, Ser. B
Dan Archdeacon, Nora Hartsfield, C. H. C. Little
1992 J jnl
Australas. J Comb.
C. Paul Bonnington, C. H. C. Little
1990 J jnl
J. Graph Theory
I. Rinsma, C. H. C. Little, Douglas R. Woodall
1978 J jnl
Discret. Math.
C. H. C. Little, Richard D. Ringeisen
redb/extractors/decompiler/bninja/utils/json_encoder.py
← Index redb/extractors/decompiler/bninja/utils/json_encoder.py python
import json


class BinaryNinjaEncoder(json.JSONEncoder):
    """Custom JSON encoder for BinaryNinja types"""

    def default(self, obj):
        # Handle Binary Ninja specific types

        # for values, we try to obtain the json for the value property
        if hasattr(obj, "value") and hasattr(obj, "confidence"):
            return obj.value

        # for strings, we simply compute the native string
        if hasattr(obj, "__str__"):
            return str(obj)

        # for all the others values we use the normal json encoder
        return json.JSONEncoder.default(self, obj)