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