Skip to content
Advertisement

Tag: java

RegEx to find value in JSON

I need to write a RegEx on a JSON to match everything that starts with {$ and ends with } I tried with /{(.*?)}/g and it seemingly works fine but if you see the image below it also matches the other text so how do I explicitly write a RegEx for my requirement The reason for the ask is I

How to take n spaced input for multiple lines in java? [closed]

Closed. This question needs details or clarity. It is not currently accepting answers. Want to improve this question? Add details and clarify the problem by editing this post. Closed 2 years ago. Improve this question 11 22 33 44 54 63 73 53 24 I am unable to take input in this format in java. I am comfortable with n

Trusted SSL certificate showing as self signed

I have a trusted TLS certificate deliverd by DigiCert that I’m trying to use in a java/spring application exposing rest apis. I created a .p12 file with openssl doing the following : openssl pkcs12 -export -in mycertificate.cer -certfile mycertificate_INTERMEDIATE.cer -inkey myprivate_key.key -out myCert.p12 I am able to use this file in my application to access the app through https with

Adding numbers to marker in mapbox android

I’m trying to figure out how to add numbers to markers programmatically in mapbox to get the result of the image below MARKERS WITH NUMBERS Here is the code of the map that displays some markers I’m searching for a way to give numbers to the markers, a proper way for me would be to add custom marker from drawable.

Advertisement