cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Method Invocation Data Collectors from System.Web.Mvc.JsonResult

Zoltan.Gutleber
Builder

Hi, 

 

I have this method:

public ActionResult MethodEZ(EZDokumentJson dokument)

JsonResult:

{
"Data1": "",
"Data2": null,
"Data3": null,
"Data4": null,
"DokumentId": "dvsd-5dsafd-55555-1111-afdfas"
}

I would like to ask you for help with collecting data from JsonResult. 

Here are my last attempts that don't work.
My Data Collection look like this:

ZoltabGutleber_0-1700582597787.png

  • ToString().Split(string/"DokumentId": ).[1].Split(string/,).[0] 
  • toString().split("DokumentId").[1].split(\,).[0]

Thanks....

 

 

2 REPLIES 2

Zoltan.Gutleber
Builder

I have already found a solution

Data().DokumentId

Ryan.Paredez
Community Manager

Hi @Zoltan.Gutleber,

Thanks so much for following up with the solution. We really like to see members sharing new discoveries and insights with the community!


Thanks,

Ryan, Cisco AppDynamics Community Manager




Found something helpful? Click the Accept as Solution button to help others find answers faster.

Liked something? Click the Thumbs Up button.



Check out Observabiity in Action

new deep dive videos weekly in the Knowledge Base.