@Juan_Esteban_Valencia try this-
ResultJson.SelectToken(“abilities”).item(“ability”).Item(“url”).ToString
Assuming Json text is
{
“abilities”:
{
“ability”: {
“name”: “static”,
“url”: “https://pokeapi.co/api/v2/ability/9/”
},
“is_hidden”:false,
“slot”:1
}
Edit: After looking at the url I see that “there is a 50% chance that encounters will be with an electric Pokémon, if applicable” this json command should boost you up to 100%(unconfirmed!)