Comments (3)
How would we know it's an image and not some other kind of data?
from jsonview.
We can't know that for sure, but we can guess by checking if first bytes matches base64-encoded PNG or JPEG signatures and that data doesn't contain symbols outside base64 alphabet.
from jsonview.
In that case I'd be amenable to a pull request.
-Ben
Sent from my phone
On Sep 17, 2013, at 12:52 AM, Mikhail Korobov [email protected]
wrote:
We can't know that for sure, but we can guess by checking if first bytes
matches base64-encoded PNG or JPEG signatures and that data doesn't contain
symbols outside base64 alphabet.
—
Reply to this email directly or view it on
GitHubhttps://github.com//issues/38#issuecomment-24569885
.
from jsonview.
Related Issues (20)
- executed method in Spring controller twice when return a list as @ResponseBody
- Using HTML entity '"' breaks valid JSON HOT 2
- Error when parsing hbs files HOT 3
- Not working on Firefoox 77.0.1 HOT 1
- Enable support for YAML HOT 1
- OAuth2 redirection flows are intercepted and continued with wrong content type HOT 3
- Is there JSONView for Edge? HOT 1
- Addon should be active depending on content type of final request to page HOT 2
- Add toggle/option to have a dark background (dark theme) HOT 2
- not working for iframes HOT 1
- Firefox Save Page As... saves rendered HTML instead of original JSON HOT 2
- add font size to options menu HOT 9
- Add a configuration to avoid word-wrap
- Add support for Content-Type: application/vnd.spring-boot.actuator.v3+json HOT 1
- With kerberos auth json view doesn't render json HOT 1
- Copy json loses indention HOT 6
- The extension doesn't work HOT 2
- AWS Console usage triggers JsonView trying to parse an HTML page in error HOT 1
- Migrate to Manifest V3
- Wrong character instead of triangle pointing down HOT 20
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jsonview.