Giter Site home page Giter Site logo

Comments (6)

r8d8 avatar r8d8 commented on June 14, 2024

@whilei , actually we can't handle this because JSON deserialization is a case sensitive, it counts crypto and Crypto as 2 different fields.

from emerald-vault-archive.

splix avatar splix commented on June 14, 2024

@r8d8 but you can convert it to lower case before parsing json

from emerald-vault-archive.

r8d8 avatar r8d8 commented on June 14, 2024

It will require reqexp, I just can't convert whole file (case in nameand description is up to user )
Ok, I think it wouldn't reduce perfomance too much

from emerald-vault-archive.

whilei avatar whilei commented on June 14, 2024

Can just check Crypto and crypto instead of only one JSON key? So if crypto doesn't exist check for Crypto or vice versa?

I ask because the only discrepancy I've personally run into is C/crytpo... might not be worth trying to do "global" case-insensitivity?

from emerald-vault-archive.

r8d8 avatar r8d8 commented on June 14, 2024

yeap, but even not greedy regexp will parse half of json till it reaches crypto
Lets make it and solve any bottleneck later, if they will occur at all.

from emerald-vault-archive.

splix avatar splix commented on June 14, 2024

maybe there is a way to use a simple string replacement, w/o regexp? anyway, it wouldn't be a bottleneck, as it used only once during initial import

from emerald-vault-archive.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.