code: def test_value_from_json(self):
      print()
      value = serialize._value_from_json(
          SAMPLE_UNION_CLS, SAMPLE_INT_JSON
      )
      self.assertEqual(6, value)
  
file_path: pytext/pytext/config/test/serialize_test.py
imports: import unittest
  from typing import Any, Dict, List, Union
  from pytext.config import ConfigBase, pytext_config_from_json, serialize
label_desc: Use image node_id 1 for calling the SerializeTest obj's underlying member method code with example usage: obj.test_value_from_json() without return types