 module
    
    
    
      module
    
    
      
        
      
    
   
    
      
  
    
      
  
    
      Version: 
        v0.3.9
    
    
      Opens a new window with list of versions in this module.
    
    
    
  
      
  
    Published: Mar 26, 2022
  
      
  
    License: MIT
      
    
  
  
    Opens a new window with license information.
  
      
    
   
  
  
    
   
    
      
    
    
    
  
    
      
        
  
    
       README
      ¶
      README
      ¶
    
    
      
        go-json2struct
a web tool for converting JSON strings into Go struct
The web application is available at here !!
Example for use as a module
Check pkg.go.dev for examples.
$ go get -u github.com/masakurapa/go-json2struct
package main
import (
	"fmt"
	"github.com/masakurapa/go-json2struct/pkg/j2s"
)
func main() {
	input := `{"title": "j2s"}`
	output, err := j2s.Convert(input)
	if err != nil {
		fmt.Println(err)
		return
	}
	fmt.Println(output)
}
 
      
      
    
   
      
      
      
      
        
  
      
     
   
   Click to show internal directories. 
   Click to hide internal directories.