title: Job in version \"v1\" cannot be handled as a Job: [pos 196]: json: expect char '\"' but got char '{'
body: <p>when I create the Kubernetes Job by a job yaml file, and I have this error message:</p>
  
  <p>Job in version \"v1\" cannot be handled as a Job: [pos 196]: json: expect char '\"' but got char '{'</p>
  
  <p><strong>Anyone know why? Thanks!</strong></p>
  
  <p>File job.yml:</p>
  
  <p><code>
  apiVersion: batch/v1
  kind: Job
  metadata:
    name: pi
    labels:
      name: 09996c3d-cb13-41b0-94a6-b8492d981de5
  spec:
    completions: 1
    template:
      metadata:
        name: pi
        labels:
          name: 09996c3d-cb13-41b0-94a6-b8492d981de5
      spec:
        containers:
        - name: pi
          image: perl
          # command: ["perl",  "-Mbignum=bpi", "-wle", "print bpi(2000)"]
          env:
          - name: FUNCTIONGRAPH
            value: reqJsonBody
        restartPolicy: OnFailure
  </code> </p>