class_docstr: A (possibly unbounded) box in :math:`\mathbb{R}^n`.
  
  Specifically, a Box represents the Cartesian product of n closed intervals.
  Each interval has the form of one of :math:`[a, b]`, :math:`(-\infty, b]`,
  :math:`[a, \infty)`, or :math:`(-\infty, \infty)`.
  
  There are two common use cases:
  
  * Identical bound for each dimension::
  
      >>> Box(low=-1.0, high=2.0, shape=(3, 4), dtype=np.float32)
      Box(3, 4)
  
  * Independent bound for each dimension::
  
      >>> Box(low=np.array([-1.0, -2.0]), high=np.array([2.0, 4.0]), dtype=np.float32)
      Box(2,)
docstr: Convert a batch of samples from this space to a JSONable data type.
docstr_tok: ["Convert","a","batch","of","samples","from","this","space","to","a","JSONable","data","type","."]
code: def to_jsonable(self, sample_n):
      """Convert a batch of samples from this space to a JSONable data type."""
      return np.array(sample_n).tolist()
  
imports: from typing import Dict, List, Optional, Sequence, SupportsFloat, Tuple, Type, Union
  import numpy
  import gym.error
  from gym import logger
  from gym.spaces.space import Space
label_desc: Use image node_id 7 for calling the Box obj's underlying member method code with example usage: obj.to_jsonable(sample_n) and returns: np