def METHOD_NAME(self):
    obj = Example.from_dict({'a': 1})
    assert_equal(obj.a, 1)
    assert_equal(obj.b, None)
    assert_equal(obj.c, None)
    obj = Example.from_json('{"a": null, "b": 42, "c": true}')
    assert_equal(obj.a, None)
    assert_equal(obj.b, 42)
    assert_equal(obj.c, True)