title: Can valid JSON be invalid Python?
body: <p>This is a simple questions that is really only a footnote in something I am writing:</p>
  
  <p>Is any valid JSON not also valid Python?</p>
  
  <p>I know the converse is true, i.e. Python data structures and scalars allow a variety of constructs that are not JSON.  But for the most part, JSON seems to be a subset of Python syntax for defining (some) data structures.</p>
  
  <p>The obvious stuff is covered.  Strings are strings. Ints are ints. JSON "numbers" are read as Python floats (although RFC 8259 does not <strong>mandate</strong> that interpretation vs. fixed point, for example).  Dicts are dicts. Lists are lists.</p>
  
  <p>But maybe something in some obscure corner violates the subset relationship.  For example, is there anything in the encoding of Unicode outside the BMP that is directly incompatible? Or maybe within Unicode surrogate pairs?</p>
  
  <p>Or maybe something with numbers where some large number of digits after the decimal would be technically valid JSON but not Python? (I don't think so, but just trying to think of scenarios).</p>