func NameShowReplyParse(msg json.RawMessage) (interface{}, error) {
	var res NameShowResult
	err := json.Unmarshal(msg, &res)
	if err != nil {
		return nil, err
	}
	return res, nil
}
NameShowReplyParse is a ReplyParser.
package nmcjson
import (
	"encoding/json"
)
type NameNewResult struct {
	Txid string
	Rand string
}
type NameUpdateResult string
type NameFirstUpdateResult string
type NameShowResult struct {
	Name      string `json:"name"`
	Value     string `json:"value"`
	Txid      string `json:"txid"`
	Vout      int    `json:"vout",omitempty`
	Address   string `json:"address"`
	Height    int64  `json:"height",omitempty`
	ExpiresIn int64  `json:"expires_in"`
	Expired   bool   `json:"expired",omitempty`
}
type NameListResult struct {
	Name        string `json:"name"`
	Value       string `json:"value"`
	Txid        string `json:"txid",omitempty`
	Vout        int    `json:"vout",omitempty`
	Address     string `json:"address"`
	Height      int64  `json:"height",omitempty`
	ExpiresIn   int64  `json:"expires_in"`
	Expired     bool   `json:"expired",omitempty`
	Transferred bool   `json:"transferred",omitempty"`
}
// NameHistoryResult models the data from the name_history command.
type NameHistoryResult NameShowResult
// NameScanResult models the data from the name_scan command.
type NameScanResult struct {
	Name      string `json:"name"`
	Value     string `json:"value"`
	Txid      string `json:"txid",omitempty`
	Vout      int    `json:"vout",omitempty`
	Address   string `json:"address",omitempty`
	Height    int64  `json:"height",omitempty`
	ExpiresIn int64  `json:"expires_in"`
	Expired   bool   `json:"expired",omitempty`
}
type NameFilterResult NameScanResult
func NameNewReplyParse(msg json.RawMessage) (interface{}, error) {
	var res NameNewResult
	strs := make([]string, 0, 2)
	err := json.Unmarshal(msg, &strs)
	if err != nil {
		return nil, err
	}
	res = NameNewResult{
		Txid: strs[0],
		Rand: strs[1],
	}
	return res, nil
}
func NameUpdateReplyParse(msg json.RawMessage) (interface{}, error) {
	var res NameUpdateResult
	err := json.Unmarshal(msg, &res)
	if err != nil {
		return nil, err
	}
	return res, nil
}
func NameFirstUpdateReplyParse(msg json.RawMessage) (interface{}, error) {
	var res NameFirstUpdateResult
	err := json.Unmarshal(msg, &res)
	if err != nil {
		return nil, err
	}
	return res, nil
}