Skip to content
Discussion options

You must be logged in to vote

This can be further simplified with list pattern:

if (json["entries"] is JArray and [first, ..])
{
	Console.WriteLine(first["message"]);
} 

Replies: 9 comments 23 replies

Comment options

You must be logged in to vote
6 replies
@huoyaoyuan
Comment options

@Nefcanto
Comment options

@Nefcanto
Comment options

@CyrusNajmabadi
Comment options

@CyrusNajmabadi
Comment options

Comment options

You must be logged in to vote
2 replies
@HaloFour
Comment options

@HaloFour
Comment options

Comment options

You must be logged in to vote
1 reply
@jnm2
Comment options

jnm2 Oct 24, 2024
Collaborator

Comment options

You must be logged in to vote
2 replies
@jnm2
Comment options

jnm2 Oct 24, 2024
Collaborator

@AoshiW
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
12 replies
@huoyaoyuan
Comment options

Answer selected by CyrusNajmabadi
@zms9110750
Comment options

@CyrusNajmabadi
Comment options

@elgonzo
Comment options

@zms9110750
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet