Capture specific words from http request using go language

Hi, we are trying to capture response from a http request, which is giving response as a combination of json and non-json format, we want to capture the Token generated by the request using go language.

Below is the response format:
`$(“link.favicon”).attr(“href”, $.url(‘/’));

	`var pageView = new infaw.isp.SymphonyNextLoginPageView({
		logo: "/",
		logo2: "",
		namespaces : [{"id":"Native","label":"Native"}],
		bgImages : [{"0":"/"},{"1":"/web.ldm./image2.jpg"},{"2":"/image3.jpg"}],
		version : "Version 10.1",
		modeURL : "web.isp/login",
		year : "(c) Copyright 2023.",
		pageTitle: "Administrator",
		Token: "XGD%2B-5EC11gFv0UUI7A*"

I have written the below go function to capture the response from the request, It’s capturing the response white trying to capture the token, It’s failing with the below error.
package main

import (

type Asset struct {
Id string
Name string
func main() {
resp, err := http.Get(“httprequst”)

if err != nil {
body, error := ioutil.ReadAll(resp.Body)
if error != nil {
// close response body

// print response body

var obj Asset
if err := json.NewDecoder(resp.Body).Decode(&obj); err != nil {
//stringData := json.parse(body)
mySimpleMap := make(map[string]interface{})
err1 := json.Unmarshal(byte(string(body)), &mySimpleMap)
if err1 != nil {
fmt.Println(“error while unmarshal”, err1)
} else {
fmt.Printf(“%f\n”, mySimpleMap[“Id”])
myAsset := Asset{}
err = json.Unmarshal(byte(body), &myAsset)
if err != nil {
fmt.Println(“error while unmarshal”, err)
} else {
fmt.Printf(“%d”, myAsset.Id)

Getting the below error after running the go code:

error while unmarshall invalid character ‘$’ looking for beginning of value