blob: f7a8795ffb55e08cd533e3221e89b00fbfd27b8f [file] [log] [blame]
//go:build ignore
// Copyright 2014 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package main
import (
"encoding/json"
"io"
"log"
"os"
)
func main() {
body, err := io.ReadAll(os.Stdin)
if err != nil {
log.Fatalf("error reading stdin: %v", err)
}
json.NewEncoder(os.Stdout).Encode(struct {
Body string
}{
Body: string(body),
})
}