Skip to content

Conversation

@junaidwarsivd
Copy link
Contributor

No description provided.

return locationName;
}

public static String extractValuefromJSONObject(String jsonString)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add tests for this function for all scenarios. e.g when jsonString is null and when it has value and when the string don't start with { or don't end with }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants