Skip to main content

How to handle Special character $ in Mule4From source system we are getting "$" in most of the fields. Mulesoft is throwing error for this.

Getting below error:

"Invalid input '4', expected ~, Function Call, selectors or ?

  (line 6, column 25):

 

6|       "comment": $4.00 ,

 

              ^

Trace:

 at payload::main (line:

  6, column: 25), while reading `payload` as Weave at 

6|   

      "comment": $4.00 ,

              ^.

 

6|

        "comment": $4.00 ,

              ^

Trace:

 

  at payload::main (line: 6, column: 25), while writing Json

  at 

6|       "comment": $4.00 ,

           

     ^.

 

6|       "comment": $4.00 ,

        

        ^

Trace:

 at payload::main (line: 6, column: 25)"

  evaluating expression: "%dw 2.0

output application/json

---

 

  payload 

 

".

13 respostas
  1. 8 de nov. de 2019, 15:15

    @Rohit Reddy​  looks like issue with the version. still not working for me.@Rohit Reddy​ looks like issue with the version. still not working for me.

0/9000