Skip to content

Commit

Permalink
Change unit definition JSON from UTF-8-BOM to UTF-8 (#730)
Browse files Browse the repository at this point in the history
* Remove unknown sign from the JSON beginnings

Otherways the js JSON parse method returns `SyntaxError: Unexpected token  in JSON at position 0` error.
  • Loading branch information
haimkastner authored and angularsen committed Dec 29, 2019
1 parent f04db7d commit fe6bd2a
Show file tree
Hide file tree
Showing 92 changed files with 164 additions and 164 deletions.
4 changes: 2 additions & 2 deletions Common/UnitDefinitions/Acceleration.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
{
"Name": "Acceleration",
"BaseUnit": "MeterPerSecondSquared",
"XmlDoc": "Acceleration, in physics, is the rate at which the velocity of an object changes over time. An object's acceleration is the net result of any and all forces acting on the object, as described by Newton's Second Law. The SI unit for acceleration is the Meter per second squared (m/s²). Accelerations are vector quantities (they have magnitude and direction) and add according to the parallelogram law. As a vector, the calculated net force is equal to the product of the object's mass (a scalar quantity) and the acceleration.",
Expand Down Expand Up @@ -121,4 +121,4 @@
]
}
]
}
}
4 changes: 2 additions & 2 deletions Common/UnitDefinitions/AmountOfSubstance.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
{
"Name": "AmountOfSubstance",
"BaseUnit": "Mole",
"XmlDoc": "Mole is the amount of substance containing Avagadro's Number (6.02 x 10 ^ 23) of real particles such as molecules,atoms, ions or radicals.",
Expand Down Expand Up @@ -39,4 +39,4 @@
]
}
]
}
}
4 changes: 2 additions & 2 deletions Common/UnitDefinitions/AmplitudeRatio.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
{
"Name": "AmplitudeRatio",
"BaseUnit": "DecibelVolt",
"Logarithmic": "True",
Expand Down Expand Up @@ -54,4 +54,4 @@
]
}
]
}
}
4 changes: 2 additions & 2 deletions Common/UnitDefinitions/Angle.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
{
"Name": "Angle",
"BaseUnit": "Degree",
"XmlDoc": "In geometry, an angle is the figure formed by two rays, called the sides of the angle, sharing a common endpoint, called the vertex of the angle.",
Expand Down Expand Up @@ -94,4 +94,4 @@
]
}
]
}
}
4 changes: 2 additions & 2 deletions Common/UnitDefinitions/ApparentEnergy.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
{
"Name": "ApparentEnergy",
"BaseUnit": "VoltampereHour",
"XmlDoc": "A unit for expressing the integral of apparent power over time, equal to the product of 1 volt-ampere and 1 hour, or to 3600 joules.",
Expand All @@ -22,4 +22,4 @@
]
}
]
}
}
4 changes: 2 additions & 2 deletions Common/UnitDefinitions/ApparentPower.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
{
"Name": "ApparentPower",
"BaseUnit": "Voltampere",
"XmlDoc": "Power engineers measure apparent power as the magnitude of the vector sum of active and reactive power. Apparent power is the product of the root-mean-square of voltage and current.",
Expand All @@ -22,4 +22,4 @@
]
}
]
}
}
2 changes: 1 addition & 1 deletion Common/UnitDefinitions/Area.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
{
"Name": "Area",
"BaseUnit": "SquareMeter",
"XmlDoc": "Area is a quantity that expresses the extent of a two-dimensional surface or shape, or planar lamina, in the plane. Area can be understood as the amount of material with a given thickness that would be necessary to fashion a model of the shape, or the amount of paint necessary to cover the surface with a single coat.[1] It is the two-dimensional analog of the length of a curve (a one-dimensional concept) or the volume of a solid (a three-dimensional concept).",
Expand Down
4 changes: 2 additions & 2 deletions Common/UnitDefinitions/AreaDensity.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
{
"Name": "AreaDensity",
"BaseUnit": "KilogramPerSquareMeter",
"XmlDoc": "The area density of a two-dimensional object is calculated as the mass per unit area.",
Expand All @@ -24,4 +24,4 @@
]
}
]
}
}
4 changes: 2 additions & 2 deletions Common/UnitDefinitions/AreaMomentOfInertia.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
{
"Name": "AreaMomentOfInertia",
"BaseUnit": "MeterToTheFourth",
"XmlDoc": "A geometric property of an area that reflects how its points are distributed with regard to an axis.",
Expand Down Expand Up @@ -97,4 +97,4 @@
]
}
]
}
}
4 changes: 2 additions & 2 deletions Common/UnitDefinitions/BitRate.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
{
"Name": "BitRate",
"BaseUnit": "BitPerSecond",
"BaseType": "decimal",
Expand Down Expand Up @@ -32,4 +32,4 @@
]
}
]
}
}
4 changes: 2 additions & 2 deletions Common/UnitDefinitions/BrakeSpecificFuelConsumption.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
{
"Name": "BrakeSpecificFuelConsumption",
"BaseUnit": "KilogramPerJoule",
"XmlDoc": "Brake specific fuel consumption (BSFC) is a measure of the fuel efficiency of any prime mover that burns fuel and produces rotational, or shaft, power. It is typically used for comparing the efficiency of internal combustion engines with a shaft output.",
Expand Down Expand Up @@ -45,4 +45,4 @@
]
}
]
}
}
4 changes: 2 additions & 2 deletions Common/UnitDefinitions/Capacitance.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
{
"Name": "Capacitance",
"BaseUnit": "Farad",
"XmlDoc": "Capacitance is the ability of a body to store an electric charge.",
Expand Down Expand Up @@ -30,4 +30,4 @@
]
}
]
}
}
4 changes: 2 additions & 2 deletions Common/UnitDefinitions/CoefficientOfThermalExpansion.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
{
"Name": "CoefficientOfThermalExpansion",
"BaseUnit": "InverseKelvin",
"XmlDoc": "A unit that represents a fractional change in size in response to a change in temperature.",
Expand Down Expand Up @@ -52,4 +52,4 @@
]
}
]
}
}
2 changes: 1 addition & 1 deletion Common/UnitDefinitions/Density.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
{
"Name": "Density",
"BaseUnit": "KilogramPerCubicMeter",
"XmlDoc": "The density, or more precisely, the volumetric mass density, of a substance is its mass per unit volume.",
Expand Down
2 changes: 1 addition & 1 deletion Common/UnitDefinitions/Duration.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
{
"Name": "Duration",
"BaseUnit": "Second",
"XmlDoc": "Time is a dimension in which events can be ordered from the past through the present into the future, and also the measure of durations of events and the intervals between them.",
Expand Down
4 changes: 2 additions & 2 deletions Common/UnitDefinitions/DynamicViscosity.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
{
"Name": "DynamicViscosity",
"BaseUnit": "NewtonSecondPerMeterSquared",
"XmlDoc": "The dynamic (shear) viscosity of a fluid expresses its resistance to shearing flows, where adjacent layers move parallel to each other with different speeds",
Expand Down Expand Up @@ -84,4 +84,4 @@
]
}
]
}
}
4 changes: 2 additions & 2 deletions Common/UnitDefinitions/ElectricAdmittance.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
{
"Name": "ElectricAdmittance",
"BaseUnit": "Siemens",
"XmlDoc": "Electric admittance is a measure of how easily a circuit or device will allow a current to flow. It is defined as the inverse of impedance. The SI unit of admittance is the siemens (symbol S).",
Expand All @@ -23,4 +23,4 @@
]
}
]
}
}
4 changes: 2 additions & 2 deletions Common/UnitDefinitions/ElectricCharge.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
{
"Name": "ElectricCharge",
"BaseUnit": "Coulomb",
"XmlDoc": "Electric charge is the physical property of matter that causes it to experience a force when placed in an electromagnetic field.",
Expand Down Expand Up @@ -34,4 +34,4 @@
]
}
]
}
}
4 changes: 2 additions & 2 deletions Common/UnitDefinitions/ElectricChargeDensity.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
{
"Name": "ElectricChargeDensity",
"BaseUnit": "CoulombPerCubicMeter",
"XmlDoc": "In electromagnetism, charge density is a measure of the amount of electric charge per volume.",
Expand Down Expand Up @@ -27,4 +27,4 @@
]
}
]
}
}
4 changes: 2 additions & 2 deletions Common/UnitDefinitions/ElectricConductance.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
{
"Name": "ElectricConductance",
"BaseUnit": "Siemens",
"XmlDoc": "The electrical conductance of an electrical conductor is a measure of the easeness to pass an electric current through that conductor.",
Expand All @@ -24,4 +24,4 @@
]
}
]
}
}
4 changes: 2 additions & 2 deletions Common/UnitDefinitions/ElectricConductivity.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
{
"Name": "ElectricConductivity",
"BaseUnit": "SiemensPerMeter",
"XmlDoc": "Electrical conductivity or specific conductance is the reciprocal of electrical resistivity, and measures a material's ability to conduct an electric current.",
Expand Down Expand Up @@ -53,4 +53,4 @@
]
}
]
}
}
4 changes: 2 additions & 2 deletions Common/UnitDefinitions/ElectricCurrent.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
{
"Name": "ElectricCurrent",
"BaseUnit": "Ampere",
"XmlDoc": "An electric current is a flow of electric charge. In electric circuits this charge is often carried by moving electrons in a wire. It can also be carried by ions in an electrolyte, or by both ions and electrons such as in a plasma.",
Expand All @@ -23,4 +23,4 @@
]
}
]
}
}
4 changes: 2 additions & 2 deletions Common/UnitDefinitions/ElectricCurrentDensity.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
{
"Name": "ElectricCurrentDensity",
"BaseUnit": "AmperePerSquareMeter",
"XmlDoc": "In electromagnetism, current density is the electric current per unit area of cross section.",
Expand Down Expand Up @@ -57,4 +57,4 @@
]
}
]
}
}
4 changes: 2 additions & 2 deletions Common/UnitDefinitions/ElectricCurrentGradient.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
{
"Name": "ElectricCurrentGradient",
"BaseUnit": "AmperePerSecond",
"XmlDoc": "In electromagnetism, the current gradient describes how the current changes in time.",
Expand All @@ -20,4 +20,4 @@
]
}
]
}
}
4 changes: 2 additions & 2 deletions Common/UnitDefinitions/ElectricField.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
{
"Name": "ElectricField",
"BaseUnit": "VoltPerMeter",
"XmlDoc": "An electric field is a force field that surrounds electric charges that attracts or repels other electric charges.",
Expand Down Expand Up @@ -29,4 +29,4 @@
]
}
]
}
}
4 changes: 2 additions & 2 deletions Common/UnitDefinitions/ElectricInductance.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
{
"Name": "ElectricInductance",
"BaseUnit": "Henry",
"XmlDoc": "Inductance is a property of an electrical conductor which opposes a change in current.",
Expand All @@ -24,4 +24,4 @@
]
}
]
}
}
4 changes: 2 additions & 2 deletions Common/UnitDefinitions/ElectricPotential.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
{
"Name": "ElectricPotential",
"BaseUnit": "Volt",
"XmlDoc": "In classical electromagnetism, the electric potential (a scalar quantity denoted by Φ, ΦE or V and also called the electric field potential or the electrostatic potential) at a point is the amount of electric potential energy that a unitary point charge would have when located at that point.",
Expand Down Expand Up @@ -33,4 +33,4 @@
]
}
]
}
}
4 changes: 2 additions & 2 deletions Common/UnitDefinitions/ElectricPotentialAc.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
{
"Name": "ElectricPotentialAc",
"BaseUnit": "VoltAc",
"XmlDoc": "The Electric Potential of a system known to use Alternating Current.",
Expand All @@ -17,4 +17,4 @@
]
}
]
}
}
4 changes: 2 additions & 2 deletions Common/UnitDefinitions/ElectricPotentialDc.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
{
"Name": "ElectricPotentialDc",
"BaseUnit": "VoltDc",
"XmlDoc": "The Electric Potential of a system known to use Direct Current.",
Expand All @@ -17,4 +17,4 @@
]
}
]
}
}
4 changes: 2 additions & 2 deletions Common/UnitDefinitions/ElectricResistance.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
{
"Name": "ElectricResistance",
"BaseUnit": "Ohm",
"XmlDoc": "The electrical resistance of an electrical conductor is the opposition to the passage of an electric current through that conductor.",
Expand All @@ -23,4 +23,4 @@
]
}
]
}
}
4 changes: 2 additions & 2 deletions Common/UnitDefinitions/ElectricResistivity.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
{
"Name": "ElectricResistivity",
"BaseUnit": "OhmMeter",
"XmlDoc": "Electrical resistivity (also known as resistivity, specific electrical resistance, or volume resistivity) is a fundamental property that quantifies how strongly a given material opposes the flow of electric current.",
Expand Down Expand Up @@ -37,4 +37,4 @@
]
}
]
}
}
4 changes: 2 additions & 2 deletions Common/UnitDefinitions/ElectricSurfaceChargeDensity.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
{
"Name": "ElectricSurfaceChargeDensity",
"BaseUnit": "CoulombPerSquareMeter",
"XmlDoc": "In electromagnetism, surface charge density is a measure of the amount of electric charge per surface area.",
Expand Down Expand Up @@ -61,4 +61,4 @@
]
}
]
}
}
Loading

0 comments on commit fe6bd2a

Please sign in to comment.