Eine aufbereitete Darstellung der Quelle

 
     
 
 
Anforderungen  |   Konzepte  |   Entwurf  |   Entwicklung  |   Qualitätssicherung  |   Lebenszyklus  |   Steuerung
 
 
 
 

Benutzer

Quelle  json.js

  Sprache: JAVA
 

/**
 * This class contains methods to handle this application JSON data.
 */

export default class JsonUtils {

  /**
   * Parses an input, checks whether this input is valid and returns a JSON object.
   *
   * @param input - the input to parse
   * @returns {object} - if the input is a valid JSON object returns an object
   */

  static parse(input) {
    if (!input) return;
    if (typeof input === 'string') {
      let jsonRegex = /{(?:[^])*}/g;
      let match = jsonRegex.exec(input);
      if (match) {
        input = JSON.parse(match[0]);
      } else {
        input = {output: input};
      }
    }
    return input;
  }

  /**
   * Returns a static string representing the mime type supported by this package
   *
   * @returns {string} constant string 'application/vnd.francy+json'
   */

  static get MIME() {
    return 'application/vnd.francy+json';
  }

}

export const MIME = JsonUtils.MIME;

Messung V0.5 in Prozent
C=100 H=100 G=100

¤ Dauer der Verarbeitung: 0.13 Sekunden  (vorverarbeitet am  2026-06-18) ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

PVS Prover

Isabelle Prover

NIST Cobol Testsuite

Cephes Mathematical Library

Vienna Development Method

Haftungshinweis

Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.

Bemerkung:

Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.






                                                                                                                                                                                                                                                                                                                                                                                                     


Neuigkeiten

     Aktuelles
     Motto des Tages

Software

     Quellcodebibliothek
     Eigene Quellcodes
     Fremde Quellcodes
     Suchen

Aktivitäten

     Artikel über Sicherheit
     Anleitung zur Aktivierung von SSL

Muße

     Gedichte
     Musik
     Bilder

Jenseits des Üblichen ....
    

Besucherstatistik

Besucherstatistik