code: def test_for_json_encodes_object_nested_within_object(self):
      self.assertRoundTrip(NestedForJson(), {"nested": {"for_json": 1}})
  
imports: import unittest
  import simplejson
label_desc: Use image node_id 5 for calling the TestForJson obj's underlying member method code with example usage: obj.test_for_json_encodes_object_nested_within_object() without return types